mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
ir3: set offset on splits created while spilling
Fixes: 613eaac7b5 ("ir3: Initial support for spilling non-shared registers")
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29497>
This commit is contained in:
parent
af6f82b954
commit
37c929ce5d
1 changed files with 1 additions and 0 deletions
|
|
@ -864,6 +864,7 @@ split(struct ir3_register *def, unsigned offset,
|
|||
assert(def->merge_set);
|
||||
struct ir3_instruction *split =
|
||||
ir3_instr_create(block, OPC_META_SPLIT, 1, 1);
|
||||
split->split.off = offset;
|
||||
struct ir3_register *dst = __ssa_dst(split);
|
||||
dst->flags |= def->flags & IR3_REG_HALF;
|
||||
struct ir3_register *src = ir3_src_create(split, INVALID_REG, def->flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue