aboutsummaryrefslogtreecommitdiff
path: root/Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp
diff options
context:
space:
mode:
Diffstat (limited to 'Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp')
-rw-r--r--Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp b/Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp
new file mode 100644
index 00000000..38316a50
--- /dev/null
+++ b/Test/spv.WorkgroupMemoryExplicitLayout.NonBlock.comp
@@ -0,0 +1,14 @@
+#version 430 core
+
+#extension GL_EXT_shared_memory_block : enable
+
+layout(local_size_x = 8) in;
+
+shared int a;
+shared int b;
+
+void main()
+{
+ a = 2;
+ b = 3;
+}