[Mesa-dev] [PATCH 2/3] glsl/cs: Lower gl_GlobalInvocationID variable

Ilia Mirkin imirkin at alum.mit.edu
Fri Aug 7 15:09:03 PDT 2015

On Fri, Aug 7, 2015 at 6:01 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> On Fri, Aug 7, 2015 at 2:59 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> FWIW I would very much prefer that things like this stay at the GLSL
>> IR level, otherwise we'll have to duplicate it in st/mesa (or do it at
>> the GLSL IR level).
> That's why you should start using nir_to_tgsi in st/mesa. :-P

I'm sure you realize that that's a whole different discussion, which
will involve a monstrous amount of work, with questionable payoff.
(And definitely not doable *today* as TGSI supports tess, fp64, and
shader parameters, whereas nir supports none of those. Not to say that
it can't of course.)

I could make a similar comment that Intel should finally move its
driver to gallium and stop duplicating st/mesa and gallium/aux in meta


More information about the mesa-dev mailing list