mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
etnaviv: Set dst.use for MOVAR
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28183>
This commit is contained in:
parent
8de9be6eb1
commit
3263d533d3
1 changed files with 1 additions and 0 deletions
|
|
@ -574,6 +574,7 @@ emit_intrinsic(struct etna_compile *c, nir_intrinsic_instr * intr)
|
|||
/* TODO: rework so extra MOV isn't required, load up to 4 addresses at once */
|
||||
emit_inst(c, &(struct etna_inst) {
|
||||
.opcode = ISA_OPC_MOVAR,
|
||||
.dst.use = 1,
|
||||
.dst.write_mask = ISA_WRMASK_X___,
|
||||
.src[2] = get_src(c, &intr->src[0]),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue