i915: There's always a fragment program
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 16 Apr 2011 02:23:13 +0000 (19:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 22 Apr 2011 00:33:35 +0000 (17:33 -0700)
commitc41cb17037777de6e4ae596e56a16239429486e9
treef0ad8f12eb39b5611a8732e2b5de2fd18ea943d8
parent8fc5ed18bc0d299a4495b28f02e63b1b75326bbc
i915: There's always a fragment program

Fragment programs are generated by core Mesa for fixed-function.
Because of this, there's no reason to handle cases where there is no
fragment program for fog.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
src/mesa/drivers/dri/i915/i915_state.c