Mesa (master): r600g: add r600 version of UINT_TO_FLT conversion.

Dave Airlie airlied at kemper.freedesktop.org
Sat Jan 14 22:03:48 UTC 2012


Module: Mesa
Branch: master
Commit: faa90abfe0b6f55ab69768eb930b4ab5ef21cb06
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=faa90abfe0b6f55ab69768eb930b4ab5ef21cb06

Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Jan 14 21:59:29 2012 +0000

r600g: add r600 version of UINT_TO_FLT conversion.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/r600/r600_asm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index a71b94f..fd4ec43 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -104,6 +104,7 @@ static inline unsigned int r600_bytecode_get_num_operands(struct r600_bytecode *
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RECIPSQRT_IEEE:
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT:
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_INT_TO_FLT:
+		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_UINT_TO_FLT:
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_SIN:
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_COS:
 		case V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RNDNE:




More information about the mesa-commit mailing list