mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
ir3: Fix const allocation when parsing assembly
This fixes computerator.
Fixes: 68ab25e6d4 ("ir3: split immediate state from rest of const state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34055>
This commit is contained in:
parent
4707e9c8b9
commit
81f73c89de
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ static void add_const(unsigned reg, unsigned c0, unsigned c1, unsigned c2, unsig
|
|||
assert((reg & 0x7) == 0);
|
||||
int idx = reg >> (1 + 2); /* low bit is half vs full, next two bits are swiz */
|
||||
if (idx * 4 + 4 > imm_state->size) {
|
||||
imm_state->values = rerzalloc(imm_state,
|
||||
imm_state->values = rerzalloc(variant,
|
||||
imm_state->values,
|
||||
__typeof__(imm_state->values[0]),
|
||||
imm_state->size,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue