summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv30
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-12 14:51:22 -0800
committerEric Anholt <[email protected]>2014-11-24 14:56:22 -0800
commit00f7002c5c45887b204a3f14b8e3b32472cc39bb (patch)
tree1433e73f5f9d425372a1921050fc6f1b0e32998a /src/gallium/drivers/nouveau/nv30
parentecfe9e2ad2b5f178ef09420f8d95d49937137cd9 (diff)
gallium: Drop unused BRA opcode.
Never generated, and implemented in only nvfx vertprog. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv30')
-rw-r--r--src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c7
-rw-r--r--src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
index 0fdaa2b54d1..66009971412 100644
--- a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
@@ -821,13 +821,6 @@ nvfx_fragprog_parse_instruction(struct nvfx_fpc *fpc,
break;
}
- case TGSI_OPCODE_BRA:
- /* This can in limited cases be implemented with an IF with the else and endif labels pointing to the target */
- /* no state tracker uses this, so don't implement this for now */
- assert(0);
- nv40_fp_bra(fpc, finst->Label.Label);
- break;
-
case TGSI_OPCODE_BGNSUB:
case TGSI_OPCODE_ENDSUB:
/* nothing to do here */
diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
index e880810c8ab..51e1fb646e0 100644
--- a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
@@ -712,7 +712,6 @@ nvfx_vertprog_parse_instruction(struct nvfx_vpc *vpc,
nvfx_vp_emit(vpc, insn);
break;
case TGSI_OPCODE_ELSE:
- case TGSI_OPCODE_BRA:
case TGSI_OPCODE_CAL:
reloc.location = vpc->vp->nr_insns;
reloc.target = finst->Label.Label;