From: Alejandro PiƱeiro Date: Sat, 5 Sep 2015 13:26:59 +0000 (+0200) Subject: i965/nir/vec4: removed unneeded tex src swizzle set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00c568f679413ee627421d5724beb85be3da55c1;p=mesa.git i965/nir/vec4: removed unneeded tex src swizzle set At that point the swizzle should be correct. Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 0ff298ed0e9..f6e59ce4196 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -2624,7 +2624,6 @@ vec4_visitor::emit_texture(ir_texture_opcode op, mrf = param_base; writemask = WRITEMASK_W; } - lod.swizzle = BRW_SWIZZLE_XXXX; emit(MOV(dst_reg(MRF, mrf, lod.type, writemask), lod)); } else if (op == ir_txf) { emit(MOV(dst_reg(MRF, param_base, lod.type, WRITEMASK_W), lod));