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:
@@ -22,7 +22,7 @@ fn gaussianPDF(x : f32) -> f32 {
|
||||
|
||||
@compute @workgroup_size(32, 1, 1) fn computeMain(input : ComputeInput) {
|
||||
|
||||
var coord = vec2<i32>(input.id.xy);
|
||||
var coord = vec2<u32>(input.id.xy);
|
||||
var outputSize = textureDimensions(outputTex);
|
||||
|
||||
if (coord.x >= outputSize.x) {
|
||||
|
||||
Reference in New Issue
Block a user