From: Xiang, Haihao Date: Tue, 31 Jul 2007 01:10:31 +0000 (+0800) Subject: i965: Use I16_UNORM instead of L16_UNORM (bug 11742) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69337ed098bdf0def6820ccdb121b08c0e139085;p=mesa.git i965: Use I16_UNORM instead of L16_UNORM (bug 11742) --- 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 d24c618a668..d54623175b7 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -114,7 +114,7 @@ static GLuint translate_tex_format( GLuint mesa_format ) return BRW_SURFACEFORMAT_FXT1; case MESA_FORMAT_Z16: - return BRW_SURFACEFORMAT_L16_UNORM; + return BRW_SURFACEFORMAT_I16_UNORM; case MESA_FORMAT_RGBA_DXT1: case MESA_FORMAT_RGB_DXT1: