summaryrefslogtreecommitdiff
path: root/compute_module.comp
diff options
context:
space:
mode:
Diffstat (limited to 'compute_module.comp')
-rw-r--r--compute_module.comp11
1 files changed, 11 insertions, 0 deletions
diff --git a/compute_module.comp b/compute_module.comp
new file mode 100644
index 0000000..a28192c
--- /dev/null
+++ b/compute_module.comp
@@ -0,0 +1,11 @@
+#version 450
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+
+layout(binding = 0) buffer output_buffer {
+ uint values_out[16];
+};
+
+void main() {
+ for (uint i = 0; i < 16; i++) values_out[i] = i;
+}