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

uniform uint width;

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