summaryrefslogtreecommitdiffstats
path: root/third_party/rust/glsl/data
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/glsl/data')
-rw-r--r--third_party/rust/glsl/data/tests/buffer_block_0.glsl6
-rw-r--r--third_party/rust/glsl/data/tests/layout_buffer_block_0.glsl3
2 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rust/glsl/data/tests/buffer_block_0.glsl b/third_party/rust/glsl/data/tests/buffer_block_0.glsl
new file mode 100644
index 0000000000..de0b43928e
--- /dev/null
+++ b/third_party/rust/glsl/data/tests/buffer_block_0.glsl
@@ -0,0 +1,6 @@
+buffer Foo {
+ char tiles[];
+} main_tiles;
+
+void main() {
+}
diff --git a/third_party/rust/glsl/data/tests/layout_buffer_block_0.glsl b/third_party/rust/glsl/data/tests/layout_buffer_block_0.glsl
new file mode 100644
index 0000000000..00be0a172c
--- /dev/null
+++ b/third_party/rust/glsl/data/tests/layout_buffer_block_0.glsl
@@ -0,0 +1,3 @@
+layout(set = 0, binding = 0) buffer Foo {
+ char a;
+} foo;