mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-22 15:49:30 -07:00
WGSL now requires casting before >= I guess
This commit is contained in:
@@ -24,7 +24,7 @@ fn getBrightness(uv : vec2<f32>) -> vec4<f32> {
|
||||
var unused = config.unused;
|
||||
|
||||
// Resolve the invocation ID to a texel coordinate
|
||||
var coord = vec2<i32>(input.id.xy);
|
||||
var coord = vec2<u32>(input.id.xy);
|
||||
var screenSize = textureDimensions(tex);
|
||||
|
||||
if (coord.x >= screenSize.x) {
|
||||
|
||||
Reference in New Issue
Block a user