diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-09-01 17:29:24 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-09-01 17:30:01 +0100 |
commit | b3f4b56a3b7f979c631358caefed635c6ec56453 (patch) | |
tree | 714f8b2bf31dea318986cf8a1cfd5deaefe171db /src/gallium/auxiliary/tgsi/tgsi_exec.c | |
parent | 836a9f0ae6e03d2f92dc024703015c25a5b3c353 (diff) |
tgsi: remove redundant CND0 opcode
Can be implemented with CMP src2, src1, src0
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 711e86d6ed..d3ffd4a85f 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -2329,16 +2329,6 @@ exec_instruction( } break; - case TGSI_OPCODE_CND0: - FOR_EACH_ENABLED_CHANNEL(*inst, chan_index) { - FETCH(&r[0], 0, chan_index); - FETCH(&r[1], 1, chan_index); - FETCH(&r[2], 2, chan_index); - micro_le(&r[0], &mach->Temps[TEMP_0_I].xyzw[TEMP_0_C], &r[2], &r[0], &r[1]); - STORE(&r[0], 0, chan_index); - } - break; - case TGSI_OPCODE_DP2A: FETCH( &r[0], 0, CHAN_X ); FETCH( &r[1], 1, CHAN_X ); |