mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-23 08:09:31 -07:00
WGSL now requires casting before >= I guess
This commit is contained in:
@@ -44,7 +44,7 @@ fn getBrightness(uv : vec2<f32>) -> vec4<f32> {
|
||||
@compute @workgroup_size(32, 1, 1) fn computeMain(input : ComputeInput) {
|
||||
|
||||
// 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