blob: 25b5a4d06e49b4717a188a6227c359a1d082e9f6 [file] [log] [blame]
diagnostic(off, derivative_uniformity);
diagnostic(off, chromium.unreachable_code);
struct FSOut {
@location(0) sk_FragColor: vec4<f32>,
};
struct testBlock {
x: f32,
};
@group(0) @binding(456) var<storage, read_write> test : testBlock;
fn _skslMain(_stageOut: ptr<function, FSOut>) {
{
(*_stageOut).sk_FragColor = vec4<f32>(f32(test.x));
}
}
@fragment fn main() -> FSOut {
var _stageOut: FSOut;
_skslMain(&_stageOut);
return _stageOut;
}