Commit 32b1d2d7 authored by Jonathan Marek's avatar Jonathan Marek Committed by Rob Clark

freedreno: a2xx: ir2 cleanup

Reviewed-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
parent 41a0acd6
......@@ -232,7 +232,7 @@ fd2_program_emit(struct fd_context *ctx, struct fd_ringbuffer *ring,
vp = prog->vp;
/* find variant matching the linked fragment shader */
/* find variant matching the linked fragment shader */
if (!binning) {
fp = prog->fp;
for (variant = 1; variant < ARRAY_SIZE(vp->variant); variant++) {
......
......@@ -292,7 +292,6 @@ instr_create_alu(struct ir2_context *ctx, nir_op opcode, unsigned ncomp)
[nir_op_fmov] = {MAXs, MAXv},
[nir_op_fsign] = {-1, CNDGTEv},
[nir_op_fnot] = {SETEs, SETEv},
[nir_op_f2b32] = {SETNEs, SETNEv},
[nir_op_for] = {MAXs, MAXv},
[nir_op_fand] = {MINs, MINv},
[nir_op_fxor] = {-1, SETNEv},
......@@ -446,7 +445,6 @@ emit_alu(struct ir2_context *ctx, nir_alu_instr * alu)
instr->src[1] = tmp;
break;
case nir_op_fcsel:
case nir_op_bcsel:
tmp = instr->src[1];
instr->src[1] = instr->src[2];
instr->src[2] = tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment