summaryrefslogtreecommitdiff
path: root/examples/live/shaders/synth.comp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/live/shaders/synth.comp')
-rw-r--r--examples/live/shaders/synth.comp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/live/shaders/synth.comp b/examples/live/shaders/synth.comp
index 9a066a6..8ae48bb 100644
--- a/examples/live/shaders/synth.comp
+++ b/examples/live/shaders/synth.comp
@@ -6,7 +6,9 @@
layout(local_size_x = 64) in;
#include "Synth.glsl"
-#define TAPE(i) u.tape[i]
+// The new tape, then the old one.
+layout(set = 0, binding = 0) readonly buffer Tapes { uvec4 tape[]; };
+#define TAPE(i) tape[i]
#include "vm.glsl"
layout(set = 1, binding = 0) buffer Block { float block[]; };