mesa: Convert fixed function fragment program generator to GLSL IR.
authorEric Anholt <eric@anholt.net>
Mon, 1 Nov 2010 20:16:21 +0000 (13:16 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 18 Oct 2011 17:54:32 +0000 (10:54 -0700)
commit7ec2b0d0d6b6a0f760e55ffdee0bdb385a3e900a
tree8e1bb41c346e163be51973f04b8c244352dd051c
parent57f7978b1de40be6eb138d391c8d9f95b68cbf62
mesa: Convert fixed function fragment program generator to GLSL IR.

This is a step towards providing a direct route for drivers accepting
GLSL IR for codegen.  Perhaps more importantly, it runs the fixed
function fragment program through the GLSL IR optimization.  Having
seen how easy it is to make ugly fixed function texenv code that can
do unnecessary work, this may improve real applicatinos.
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/state.c
src/mesa/main/texenvprogram.h
src/mesa/program/program.c