From 6cb08bbe4937f9122b0b6712d8674c3085b57349 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 11 Feb 2024 00:23:20 +0100 Subject: Add code --- compute_module.comp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 compute_module.comp (limited to 'compute_module.comp') 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; +} -- cgit v1.2.3