aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 61ea2079140..d7a2a916387 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -83,12 +83,12 @@ brw_lower_packing_builtins(struct brw_context *brw,
| LOWER_UNPACK_SNORM_2x16
| LOWER_PACK_UNORM_2x16
| LOWER_UNPACK_UNORM_2x16
- | LOWER_PACK_SNORM_4x8
- | LOWER_PACK_UNORM_4x8;
+ | LOWER_PACK_SNORM_4x8;
if (shader_type == MESA_SHADER_FRAGMENT) {
ops |= LOWER_UNPACK_UNORM_4x8
- | LOWER_UNPACK_SNORM_4x8;
+ | LOWER_UNPACK_SNORM_4x8
+ | LOWER_PACK_UNORM_4x8;
}
if (brw->gen >= 7) {