| ### Compilation failed: |
| |
| error: Tint compilation failed. |
| |
| diagnostic(off, derivative_uniformity); |
| diagnostic(off, chromium.unreachable_code); |
| struct FSOut { |
| @location(0) sk_FragColor: vec4<f32>, |
| }; |
| struct _GlobalUniforms { |
| a: i32, |
| b: u32, |
| }; |
| @binding(0) @group(0) var<uniform> _globalUniforms: _GlobalUniforms; |
| fn _skslMain(_stageOut: ptr<function, FSOut>) { |
| { |
| let _skTemp0 = findLSB(_globalUniforms.a); |
| (*_stageOut).sk_FragColor.x = f32(_skTemp0); |
| let _skTemp1 = findLSB(_globalUniforms.b); |
| (*_stageOut).sk_FragColor.y = f32(_skTemp1); |
| } |
| } |
| @fragment fn main() -> FSOut { |
| var _stageOut: FSOut; |
| _skslMain(&_stageOut); |
| return _stageOut; |
| } |
| |
| 1 error |