From 07b49f126a6b52b3b7dac8e332975d5f6ca9adfe Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 5 May 2015 11:35:51 -0700 Subject: [PATCH] i965/vec4: Use same type for immediate, for compaction. --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.30.2