1diagnostic(off, derivative_uniformity); 2diagnostic(off, chromium.unreachable_code); 3struct FSOut { 4 @location(0) sk_FragColor: vec4<f32>, 5}; 6@group(0) @binding(10000) var test2D_Sampler: sampler; 7@group(0) @binding(10001) var test2D_Texture: texture_2d<f32>; 8@group(0) @binding(10002) var test2DRect_Sampler: sampler; 9@group(0) @binding(10003) var test2DRect_Texture: texture_2d<f32>; 10fn _skslMain(_stageOut: ptr<function, FSOut>) { 11 { 12 (*_stageOut).sk_FragColor = textureSample(test2D_Texture, test2D_Sampler, vec2<f32>(0.5)); 13 (*_stageOut).sk_FragColor = textureSample(test2DRect_Texture, test2DRect_Sampler, vec2<f32>(0.5)); 14 let _skTemp4 = vec3<f32>(0.5); 15 (*_stageOut).sk_FragColor = textureSample(test2DRect_Texture, test2DRect_Sampler, _skTemp4.xy / _skTemp4.z); 16 } 17} 18@fragment fn main() -> FSOut { 19 var _stageOut: FSOut; 20 _skslMain(&_stageOut); 21 return _stageOut; 22} 23