summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-05-05 11:35:51 -0700
committerMatt Turner <[email protected]>2015-05-05 11:44:37 -0700
commit07b49f126a6b52b3b7dac8e332975d5f6ca9adfe (patch)
treebc500410b23a8fe4719be6091c123559ee69ed88 /src/mesa/drivers
parenta9b04d8a0d96922a49ac7eb1b91b3a376a959f64 (diff)
i965/vec4: Use same type for immediate, for compaction.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 203ac464f1b..f64860d3365 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -1860,7 +1860,7 @@ vec4_visitor::visit(ir_expression *ir)
}
} else {
offset = src_reg(this, glsl_type::uint_type);
- emit(SHR(dst_reg(offset), op[1], src_reg(4)));
+ emit(SHR(dst_reg(offset), op[1], src_reg(4u)));
}
emit_pull_constant_load_reg(dst_reg(packed_consts),