i915: Correct and make use of the defines for 32-bit depth texture modes.
authorEric Anholt <eric@anholt.net>
Thu, 29 Oct 2009 20:35:03 +0000 (13:35 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 29 Oct 2009 21:56:52 +0000 (14:56 -0700)
commit4b377ae292f75645ef356bd3bfac407230faf73a
tree6403885041cb9beab025111e851c13cdddf99330
parent861fec163c1ae7e431956db0a08989d841e2b74e
i915: Correct and make use of the defines for 32-bit depth texture modes.

Previously, S8_Z24 depth textures would always be treated as intensity.
Fixes piglit depth-tex-modes.
src/mesa/drivers/dri/i915/i915_reg.h
src/mesa/drivers/dri/i915/i915_texstate.c