From 96220111dd01259cffe8ca9a49d72ecbb2a3e808 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 21 Jan 2013 17:46:01 -0800 Subject: i965: Lower the 4x8 pack/unpack operations Reviewed-by: Chad Versace Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_shader.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp') 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 -- cgit v1.2.3