Files
wgpu/test-data/simple/simple.wgsl
T
Pelle Johnsen 92c1ffb588 Add initial Rosetta testing (#148)
* Add initial Rosetta testing

* Make rosetta tests run as part of cargo test

* Fix rosetta test failure
2020-08-24 00:09:37 -04:00

10 lines
210 B
WebGPU Shading Language

# vertex
[[location 0]] var<in> a_pos : vec2<f32>;
[[location 0]] var<out> o_pos : vec4<f32>;
fn main() -> void {
var w: f32 = 1.0;
o_pos = vec4<f32>(a_pos, 0.0, w);
}
entry_point vertex as "main" = main;