diff options
Diffstat (limited to 'third_party/rust/naga/test-data/simple.wgsl')
-rw-r--r-- | third_party/rust/naga/test-data/simple.wgsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/naga/test-data/simple.wgsl b/third_party/rust/naga/test-data/simple.wgsl new file mode 100644 index 0000000000..35afac0878 --- /dev/null +++ b/third_party/rust/naga/test-data/simple.wgsl @@ -0,0 +1,8 @@ +# vertex +[[builtin position]] var<out> o_position : vec4<f32>; + +fn main() -> void { + o_position = vec4<f32>(1); + return; +} +entry_point vertex as "main" = main; |