1diagnostic(off, derivative_uniformity); 2diagnostic(off, chromium.unreachable_code); 3struct FSOut { 4 @location(0) sk_FragColor: vec4<f32>, 5}; 6struct testBlockA { 7 x: vec2<f32>, 8}; 9@group(0) @binding(1) var<uniform> _uniform0 : testBlockA; 10struct testBlockB { 11 y: vec2<f32>, 12}; 13@group(0) @binding(2) var<uniform> _uniform1 : testBlockB; 14fn _skslMain(_stageOut: ptr<function, FSOut>) { 15 { 16 (*_stageOut).sk_FragColor = vec4<f32>(vec2<f32>(_uniform0.x), vec2<f32>(_uniform1.y)); 17 } 18} 19@fragment fn main() -> FSOut { 20 var _stageOut: FSOut; 21 _skslMain(&_stageOut); 22 return _stageOut; 23} 24