diff options
author | Dave Airlie <airlied@redhat.com> | 2012-01-14 18:49:55 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-14 18:50:43 +0000 |
commit | 55bd1c8365baa5f21e79eace2bbce1413e38bfb8 (patch) | |
tree | 607546f28e1e47f42c9749ad7f70e26572b82b18 /src | |
parent | 5250bd00c00ac8470320f4fae1d74425132f2083 (diff) |
r600g: add missing case for uint->flt conversion.
fixes some piglits like vs-decrement-uint.shader_test
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | 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 e617b16790..a71b94fa44 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: |