summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-23 13:49:04 +0100
committerKeith Whitwell <[email protected]>2009-10-23 13:56:07 +0100
commit4e1d51786e0657c7430d731ac464f2a73e32eddf (patch)
tree60465f314eae992df47c097e9cffd5fe7ec6ef99 /src/gallium/drivers/r300
parent19403935aa4782227a1199cb0355f4bc6c0d02db (diff)
gallium: remove noise opcodes
Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_tgsi_to_rc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.c b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
index 74d4fb50876..3d2f6cafee5 100644
--- a/src/gallium/drivers/r300/r300_tgsi_to_rc.c
+++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
@@ -135,10 +135,6 @@ static unsigned translate_opcode(unsigned opcode)
/* case TGSI_OPCODE_BGNSUB: return RC_OPCODE_BGNSUB; */
/* case TGSI_OPCODE_ENDLOOP2: return RC_OPCODE_ENDLOOP2; */
/* case TGSI_OPCODE_ENDSUB: return RC_OPCODE_ENDSUB; */
- /* case TGSI_OPCODE_NOISE1: return RC_OPCODE_NOISE1; */
- /* case TGSI_OPCODE_NOISE2: return RC_OPCODE_NOISE2; */
- /* case TGSI_OPCODE_NOISE3: return RC_OPCODE_NOISE3; */
- /* case TGSI_OPCODE_NOISE4: return RC_OPCODE_NOISE4; */
case TGSI_OPCODE_NOP: return RC_OPCODE_NOP;
/* gap */
/* case TGSI_OPCODE_NRM4: return RC_OPCODE_NRM4; */