i965: Use I16_UNORM instead of L16_UNORM (bug 11742)
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 31 Jul 2007 01:10:31 +0000 (09:10 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 31 Jul 2007 01:10:31 +0000 (09:10 +0800)
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index d24c618a668b6ba950f10ae8175e414c37938b6b..d54623175b76bc33c82fdea96fee87c26b750332 100644 (file)
@@ -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: