intel: Set the swizzling for depth textures using the GL_RED depth mode.
authorEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 21:51:21 +0000 (13:51 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 22:41:50 +0000 (14:41 -0800)
commit3fb18d67753fec8a21461266246ff6949fc0fe81
treee4877aa2f898fb440eabde20981c5f984ef36a2f
parentb4e8ec3a57c28c0881fb5b595116f95b8cbe3f02
intel: Set the swizzling for depth textures using the GL_RED depth mode.

Fixes depth-tex-modes-rg.
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c