On Wed, 2017-10-25 at 16:26 -0700, Jason Ekstrand wrote:
> The GL_ARB_shader_ballot spec says that gl_SubGroupSizeARB is
> declared
> as a uniform.
I was a bit surprised that we can change this so easily, then realized
that the name for this built-in is a bit misleading since this doesn't
really r
The GL_ARB_shader_ballot spec says that gl_SubGroupSizeARB is declared
as a uniform. This means that it cannot change across an invocation
such as a draw call or a compute dispatch. For compute shaders, we're
ok because we only ever use one dispatch size. For fragment, however,
the hardware dyna