summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/shaders/zero.glsl
blob: 9bcb6d222e55ffedc27fe9ec27b30417f7b79652 (plain)
1
2
3
4
5
6
7
8
9
10
11
layout(binding=2, std430) buffer countBuffer {
  uint count[];
};

uniform uint width;

void main()
{
  count[uint(gl_FragCoord.y)*width+uint(gl_FragCoord.x)]=0u;
  discard;
}