[Mesa-dev] [PATCH 6/8] i965: Lower the 4x8 pack/unpack operations

Matt Turner mattst88 at gmail.com
Thu Jan 24 19:47:31 PST 2013


---
 src/mesa/drivers/dri/i965/brw_shader.cpp |    6 +++++-
 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 1c02c87..da101a1 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
-- 
1.7.8.6



More information about the mesa-dev mailing list