blob: 86a5ee9f7363bd97fbd7fe547670f94e7a7062d1 [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<uniform> 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;
}