summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-05 06:18:18 +0200
committerMarek Olšák <[email protected]>2011-04-05 06:36:56 +0200
commit20141d9efdf674a3c7a13a75fabe533665d02cd0 (patch)
tree9788f48a70ea1464db1f855be4582af2df1540ba /src/gallium
parentc97234507ad7de36e57868ade22a11ea8de773a6 (diff)
r300/compiler: implement the CND opcode
No one uses it now, but I will need it for a lowering pass.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_tgsi_to_rc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.c b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
index 97ec0a1a1f2..6a000cfe2c6 100644
--- a/src/gallium/drivers/r300/r300_tgsi_to_rc.c
+++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
@@ -52,8 +52,7 @@ static unsigned translate_opcode(unsigned opcode)
case TGSI_OPCODE_MAD: return RC_OPCODE_MAD;
case TGSI_OPCODE_SUB: return RC_OPCODE_SUB;
case TGSI_OPCODE_LRP: return RC_OPCODE_LRP;
- /* case TGSI_OPCODE_CND: return RC_OPCODE_CND; */
- /* case TGSI_OPCODE_CND0: return RC_OPCODE_CND0; */
+ case TGSI_OPCODE_CND: return RC_OPCODE_CND;
/* case TGSI_OPCODE_DP2A: return RC_OPCODE_DP2A; */
/* gap */
case TGSI_OPCODE_FRC: return RC_OPCODE_FRC;