From: Matt Turner Date: Tue, 22 Jan 2013 01:46:01 +0000 (-0800) Subject: i965: Lower the 4x8 pack/unpack operations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96220111dd01259cffe8ca9a49d72ecbb2a3e808;p=mesa.git i965: Lower the 4x8 pack/unpack operations Reviewed-by: Chad Versace Reviewed-by: Paul Berry --- diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index ff028c7f4d5..c71715ee512 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -83,7 +83,11 @@ brw_lower_packing_builtins(struct brw_context *brw, int ops = LOWER_PACK_SNORM_2x16 | LOWER_UNPACK_SNORM_2x16 | LOWER_PACK_UNORM_2x16 - | LOWER_UNPACK_UNORM_2x16; + | LOWER_UNPACK_UNORM_2x16 + | LOWER_PACK_SNORM_4x8 + | LOWER_UNPACK_SNORM_4x8 + | LOWER_PACK_UNORM_4x8 + | LOWER_UNPACK_UNORM_4x8; if (brw->intel.gen >= 7) { /* Gen7 introduced the f32to16 and f16to32 instructions, which can be