summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/shaders/offset.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/base/shaders/offset.glsl')
-rw-r--r--graphics/asymptote/base/shaders/offset.glsl11
1 files changed, 0 insertions, 11 deletions
diff --git a/graphics/asymptote/base/shaders/offset.glsl b/graphics/asymptote/base/shaders/offset.glsl
deleted file mode 100644
index 5fe24e7558..0000000000
--- a/graphics/asymptote/base/shaders/offset.glsl
+++ /dev/null
@@ -1,11 +0,0 @@
-layout(binding=1, std430) buffer offsetBuffer {
- uint offset[];
-};
-
-uniform uint width;
-
-void main()
-{
- atomicAdd(offset[uint(gl_FragCoord.y)*width+uint(gl_FragCoord.x)+1u],1u);
- discard;
-}