dawn-cmake/test/unittest/reader/spirv/SpvModuleScopeVarParserTest...

20 lines
269 B
WebGPU Shading Language

var<private> x_900 : f32;
var<private> gl_Position : vec4<f32>;
fn main_1() {
x_900 = 1.0;
return;
}
struct main_out {
[[builtin(position)]]
gl_Position : vec4<f32>;
};
[[stage(vertex)]]
fn main() -> main_out {
main_1();
return main_out(gl_Position);
}