Fix fragment program fog problems found with Glean.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 21:43:06 +0000 (21:43 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 21:43:06 +0000 (21:43 +0000)
commitd78f65cd6cf04dafcf50b4014de9d28546badcfb
tree9ef84f1d00410c71ca63aa99f4d2cf61a20f6e3d
parent67a101759ec0b84e4f30fbb329e86ac5031cf7e7
Fix fragment program fog problems found with Glean.
1. add PROGRAM_CONSTANT to switch() in src_vector().
2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify().
3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/drivers/dri/i915tex/i915_fragprog.c