diff --git a/native/shared/src/postfx.rs b/native/shared/src/postfx.rs index 4cf3fa6..460c2d4 100644 --- a/native/shared/src/postfx.rs +++ b/native/shared/src/postfx.rs @@ -43,10 +43,8 @@ struct OutlineParams { @group(0) @binding(2) var tex_sampler: sampler; @group(0) @binding(3) var params: OutlineParams; -struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, -}; +// VertexOutput is defined in FULLSCREEN_VERT — this string is concatenated +// after it, so redefining here would be a WGSL parser error. @fragment fn fs_outline(in: VertexOutput) -> @location(0) vec4 {