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

8 lines
146 B
WebGPU Shading Language

[[builtin(position)]] var<out> gl_Position : vec4<f32>;
[[stage(vertex)]]
fn main() {
gl_Position = vec4<f32>(0.0, 0.0, 0.0, 0.0);
return;
}