summaryrefslogtreecommitdiff
path: root/workspaces/main/shaders/chroma_aberration.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'workspaces/main/shaders/chroma_aberration.wgsl')
-rw-r--r--workspaces/main/shaders/chroma_aberration.wgsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/workspaces/main/shaders/chroma_aberration.wgsl b/workspaces/main/shaders/chroma_aberration.wgsl
index d0bc335..02bdb1b 100644
--- a/workspaces/main/shaders/chroma_aberration.wgsl
+++ b/workspaces/main/shaders/chroma_aberration.wgsl
@@ -20,5 +20,5 @@ struct ChromaAberrationParams {
let center = textureSample(txt, smplr, uv);
let r = textureSample(txt, smplr, uv + offset).r;
let b = textureSample(txt, smplr, uv - offset).b;
- return vec4<f32>(r, center.g, b, 1.0);
+ return vec4f(r, center.g, b, 1.0);
}