summaryrefslogtreecommitdiff
path: root/workspaces/main/shaders/circle_mask_render.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'workspaces/main/shaders/circle_mask_render.wgsl')
-rw-r--r--workspaces/main/shaders/circle_mask_render.wgsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/workspaces/main/shaders/circle_mask_render.wgsl b/workspaces/main/shaders/circle_mask_render.wgsl
index 55620c1..94659f7 100644
--- a/workspaces/main/shaders/circle_mask_render.wgsl
+++ b/workspaces/main/shaders/circle_mask_render.wgsl
@@ -9,7 +9,7 @@
@group(0) @binding(2) var<uniform> uniforms: CommonUniforms;
-@fragment fn fs_main(@builtin(position) p: vec4<f32>) -> @location(0) vec4<f32> {
+@fragment fn fs_main(@builtin(position) p: vec4f) -> @location(0) vec4f {
let uv = p.xy / uniforms.resolution;
let mask_value = textureSample(mask_tex, mask_sampler, uv).r;