summaryrefslogtreecommitdiff
path: root/asm/ir-a3xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/ir-a3xx.c')
-rw-r--r--asm/ir-a3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/ir-a3xx.c b/asm/ir-a3xx.c
index f3fd6ad..0768a15 100644
--- a/asm/ir-a3xx.c
+++ b/asm/ir-a3xx.c
@@ -86,7 +86,7 @@ static uint32_t reg(struct ir3_register *reg, struct ir3_shader_info *info,
if (reg->flags & IR3_REG_IMMED) {
val.iim_val = reg->iim_val;
} else {
- int8_t max = (reg->num + repeat) >> 2;
+ int max = (reg->num + repeat) >> 2;
val.comp = reg->num & 0x3;
val.num = reg->num >> 2;