summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/shaders/count.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/base/shaders/count.glsl')
-rw-r--r--graphics/asymptote/base/shaders/count.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/asymptote/base/shaders/count.glsl b/graphics/asymptote/base/shaders/count.glsl
index dae4e51f1b..c942771498 100644
--- a/graphics/asymptote/base/shaders/count.glsl
+++ b/graphics/asymptote/base/shaders/count.glsl
@@ -1,6 +1,12 @@
+#ifdef GPUINDEXING
+layout(binding=0, std430) buffer offsetBuffer {
+ uint count[];
+};
+#else
layout(binding=2, std430) buffer countBuffer {
uint count[];
};
+#endif
uniform uint width;