Mesa (master): r600g: add missing case for uint->flt conversion.

Dave Airlie airlied at kemper.freedesktop.org
Sat Jan 14 18:51:16 UTC 2012


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Jan 14 18:49:55 2012 +0000

r600g: add missing case for uint->flt conversion.

fixes some piglits like vs-decrement-uint.shader_test

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 e617b16..a71b94f 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -176,6 +176,7 @@ static inline unsigned int r600_bytecode_get_num_operands(struct r600_bytecode *
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT:
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR:
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_INT_TO_FLT:
+		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_UINT_TO_FLT:
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_SIN:
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_COS:
 		case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RNDNE:




More information about the mesa-commit mailing list