glsl_to_tgsi: remove handling of XPD opcode in compile_tgsi_instruction()
The opcode is never emitted by the glsl_to_tgsi_visitor, so its special case in compile_tgsi_instruction() was dead code.
This commit is contained in:
@@ -3653,14 +3653,6 @@ compile_tgsi_instruction(struct st_translate *t,
|
||||
src, num_src );
|
||||
break;
|
||||
|
||||
case TGSI_OPCODE_XPD:
|
||||
dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XYZ );
|
||||
ureg_insn( ureg,
|
||||
inst->op,
|
||||
dst, num_dst,
|
||||
src, num_src );
|
||||
break;
|
||||
|
||||
default:
|
||||
ureg_insn( ureg,
|
||||
inst->op,
|
||||
|
||||
Reference in New Issue
Block a user