blob: 882ed1921c6f8728eaf45b66576ac3ee5447546e [file] [log] [blame]
diagnostic(off, derivative_uniformity);
struct FSOut {
@location(0) sk_FragColor: vec4<f32>,
};
struct Test {
@size(4) x: i32,
y: i32,
z: i32,
};
fn _skslMain(_stageOut: ptr<function, FSOut>) {
{
var t: Test;
t.x = 0;
(*_stageOut).sk_FragColor.x = f32(t.x);
}
}
@fragment fn main() -> FSOut {
var _stageOut: FSOut;
_skslMain(&_stageOut);
return _stageOut;
}