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.glsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/asymptote/base/shaders/count.glsl b/graphics/asymptote/base/shaders/count.glsl
index bd06331d77..f64b25ed44 100644
--- a/graphics/asymptote/base/shaders/count.glsl
+++ b/graphics/asymptote/base/shaders/count.glsl
@@ -1,15 +1,15 @@
#ifdef GPUCOMPRESS
layout(binding=1, std430) buffer indexBuffer
-#else
-#ifdef GPUINDEXING
-layout(binding=0, std430) buffer offsetBuffer
+{
+ uint index[];
+};
#else
layout(binding=2, std430) buffer countBuffer
-#endif
-#endif
{
+ uint maxSize;
uint index[];
};
+#endif
uniform uint width;