i965: Fix tex_swizzle when depth mode is GL_RED
authorChad Versace <chad.versace@intel.com>
Sun, 13 Mar 2011 01:49:41 +0000 (17:49 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 14 Mar 2011 20:03:50 +0000 (13:03 -0700)
commit1842b89f77bb7bd283b61e27cd69c643f2a60a22
tree06112682f2a4f309e23da0beba831a72bff5e2f1
parente0cbb154f2cb62e3ae0354dc4f14185dbad2bef2
i965: Fix tex_swizzle when depth mode is GL_RED

Change swizzle from (x000) to (x001).

Signed-off-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c