glsl: Calcluate Mesa state slots in front-end instead of back-end
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 25 Jan 2011 18:41:20 +0000 (10:41 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 29 Mar 2011 20:21:08 +0000 (13:21 -0700)
commit89d81ab16c05818b290ed735c1343d3abde449bf
tree256104ebb7bdcc721ff0d70178047acb8c83ed21
parent92e412e788931ad464125113a64eec8a8223cda3
glsl: Calcluate Mesa state slots in front-end instead of back-end

This should be the last bit of infrastructure changes before
generating GLSL IR for assembly shaders.

This commit leaves some odd code formatting in ir_to_mesa and brw_fs.
This was done to minimize whitespace changes / reindentation in some
loops.  The following commit will restore formatting sanity.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/ir_variable.cpp
src/glsl/linker.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/program/ir_to_mesa.cpp