WGSL now requires casting before >= I guess

This commit is contained in:
Rezmason
2022-11-01 08:07:08 -07:00
parent acc21ef1f4
commit 316d740322
6 changed files with 6 additions and 6 deletions

View File

@@ -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) {