aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2009-03-12 15:06:17 +0100
committerRoland Scheidegger <[email protected]>2009-03-12 15:06:17 +0100
commit3327cc64e7fdc13d3843ccb17763f68dd381185f (patch)
treed74ff2a15def71657c6b430ea83d33cc248112f1 /src/mesa/drivers/dri/i965
parent36010806a10a1d6850a3fb3f997c0fbb58196d21 (diff)
i965: add support for ATI_envmap_bumpmap
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index e402fdf0ee0..9b320480b6d 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -149,6 +149,9 @@ static GLuint translate_tex_format( GLuint mesa_format, GLenum depth_mode )
else
return BRW_SURFACEFORMAT_L24X8_UNORM;
+ case MESA_FORMAT_DUDV8:
+ return BRW_SURFACEFORMAT_R8G8_SNORM;
+
default:
assert(0);
return 0;