struct _shade_Input { @location(0) uv: vec2, } struct _shade_Output { @location(0) color: vec4, } @fragment fn shade(input: _shade_Input) -> _shade_Output { var __luma_output: _shade_Output; __luma_output.color = vec4(input.uv, 0.0, 1.0); if ((input.uv.x > 0.5)) { __luma_output.color = vec4(1.0, input.uv.y, 0.0, 1.0); } return __luma_output; }