[Mesa-dev] [PATCH 10/10] mesa/st: set compiler options based on Gallium shader caps

Luca Barbieri luca at luca-barbieri.com
Sat Sep 11 15:48:04 PDT 2010


Jose Fonseca seemed open to accepting this, but no final go ahead was given.

> We need this to enable full loop unrolling for r3xx->r4xx fragment shaders,
> which don't support loops. It's needed for the blur shader in KWin to work.
> This is a regression since the GLSL compiler merge, because the previous
> compiler did unroll loops automatically. I'd like to get this fixed for 7.9.

nv30 has the same needs (and other cards are likely to get some
performance boost from unrolling).


More information about the mesa-dev mailing list