dawn-cmake/test/tint/samples/simple_vertex.spvasm.expect...

18 lines
252 B
WebGPU Shading Language

var<private> gl_Position : vec4f;
fn main_1() {
gl_Position = vec4f(0.0f, 0.0f, 0.0f, 0.0f);
return;
}
struct main_out {
@builtin(position)
gl_Position : vec4f,
}
@vertex
fn main() -> main_out {
main_1();
return main_out(gl_Position);
}