[Mesa-dev] [RFC] GL fixed function fragment shaders

Eric Anholt eric at anholt.net
Wed Mar 23 09:43:32 PDT 2011


On Fri, 18 Mar 2011 16:42:07 -0600, Brian Paul <brianp at vmware.com> wrote:
> On 03/18/2011 02:31 PM, Jakob Bornecrantz wrote:
> > On Mon, Jan 17, 2011 at 10:40 PM, Eric Anholt<eric at anholt.net>  wrote:
> >>  I'm only interested
> >> in Mesa IR for hardware that doesn't have relative addressing of temps,
> >> so it's not really an issue to me.
> >
> > While a ir_to_tgsi is needed, I'm a quite worried that the old
> > _mesa_optimize_program was needed at all to even get it close to
> > comparable output.
> 
> Since the texenvprogram.c and ff_fragment_shader.cpp code have the 
> same simple entrypoint, both could coexist for a while and we could 
> choose between them with a simple flag.  I'm not too crazy about 
> switching to the new path if it means a substantial performance hit.

Since for us we're looking at having this be a performance win, I'll
just make them live side-by-side with a flag for now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110323/7eaa0328/attachment.pgp>


More information about the mesa-dev mailing list