i965/nir/vec4: removed unneeded tex src swizzle set

At that point the swizzle should be correct.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
Alejandro Piñeiro 2015-09-05 15:26:59 +02:00 committed by Samuel Iglesias Gonsalvez
parent ae535cb0bf
commit 00c568f679

View file

@ -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));