r600g: add missing case for uint->flt conversion.
authorDave Airlie <airlied@redhat.com>
Sat, 14 Jan 2012 18:49:55 +0000 (18:49 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 14 Jan 2012 18:50:43 +0000 (18:50 +0000)
fixes some piglits like vs-decrement-uint.shader_test

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c

index e617b167905bbac15dec5771ed2ff42781590bbb..a71b94fa4473b794764ba182e08279f9cfcce8d7 100644 (file)
@@ -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: