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

Keith Whitwell keithw at vmware.com
Mon Sep 13 05:55:52 PDT 2010


On Sat, 2010-09-11 at 15:48 -0700, Luca Barbieri wrote:
> 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).

Yes, let's go ahead with this.  I'm assuming you've integrated the other
comments from Zack, Jose, etc.

Keith



More information about the mesa-dev mailing list