diff options
author | Marek Olšák <[email protected]> | 2010-04-19 00:26:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-19 00:36:20 +0200 |
commit | ec719ae199490f6026866851153c6c86ebbd4135 (patch) | |
tree | 9af15842dc006504fee9e79b8935c100c9f286aa /src/gallium | |
parent | 394803b2cd7fd9d4c0a394eb6998ccafec19bcd3 (diff) |
r300g: implement TRUNC as floor
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_tgsi_to_rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.c b/src/gallium/drivers/r300/r300_tgsi_to_rc.c index fcc0f9a3c02..f6428ed760f 100644 --- a/src/gallium/drivers/r300/r300_tgsi_to_rc.c +++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.c @@ -118,7 +118,7 @@ static unsigned translate_opcode(unsigned opcode) case TGSI_OPCODE_CEIL: return RC_OPCODE_CEIL; /* case TGSI_OPCODE_I2F: return RC_OPCODE_I2F; */ /* case TGSI_OPCODE_NOT: return RC_OPCODE_NOT; */ - /* case TGSI_OPCODE_TRUNC: return RC_OPCODE_TRUNC; */ + case TGSI_OPCODE_TRUNC: return RC_OPCODE_FLR; /* case TGSI_OPCODE_SHL: return RC_OPCODE_SHL; */ /* case TGSI_OPCODE_ISHR: return RC_OPCODE_SHR; */ /* case TGSI_OPCODE_AND: return RC_OPCODE_AND; */ |