summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-01-21 17:46:01 -0800
committerMatt Turner <[email protected]>2013-01-25 14:10:23 -0800
commit96220111dd01259cffe8ca9a49d72ecbb2a3e808 (patch)
tree18ddbc86ea454997bd44354c61b39525ac23bcac /src
parent321555fb41d92ef61679ec3334e1cc24b5ab4c2d (diff)
i965: Lower the 4x8 pack/unpack operations
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp6
1 files changed, 5 insertions, 1 deletions
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