| diagnostic(off, derivative_uniformity); |
| struct FSIn { |
| @builtin(front_facing) sk_Clockwise: bool, |
| }; |
| struct FSOut { |
| @location(0) sk_FragColor: vec4<f32>, |
| }; |
| struct _GlobalUniforms { |
| colorGreen: vec4<f32>, |
| colorRed: vec4<f32>, |
| }; |
| @binding(0) @group(0) var<uniform> _globalUniforms: _GlobalUniforms; |
| fn _skslMain(xy: vec2<f32>) -> vec4<f32> { |
| { |
| { |
| return _globalUniforms.colorGreen; |
| } |
| } |
| } |
| @fragment fn main(_stageIn: FSIn) -> FSOut { |
| var _stageOut: FSOut; |
| _stageOut.sk_FragColor = _skslMain(/*fragcoord*/ vec2<f32>()); |
| return _stageOut; |
| } |