From: Matt Turner Date: Tue, 5 May 2015 18:35:51 +0000 (-0700) Subject: i965/vec4: Use same type for immediate, for compaction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07b49f126a6b52b3b7dac8e332975d5f6ca9adfe;p=mesa.git i965/vec4: Use same type for immediate, for compaction. --- 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),