mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
ir3: set cat6.dst_offset for ldc
Not needed by the assembler but this allows us to track the const reg destination in ir3. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40954>
This commit is contained in:
parent
b730dff54e
commit
c1bf9d6fd5
1 changed files with 1 additions and 0 deletions
|
|
@ -1222,6 +1222,7 @@ emit_intrinsic_copy_ubo_to_uniform(struct ir3_context *ctx,
|
|||
struct ir3_instruction *idx =
|
||||
ir3_get_src_shared(ctx, &intr->src[0], use_shared)[0];
|
||||
struct ir3_instruction *ldc = ir3_LDC_K(b, idx, 0, offset, 0);
|
||||
ldc->cat6.dst_offset = base;
|
||||
ldc->cat6.iim_val = size;
|
||||
ldc->barrier_class = ldc->barrier_conflict = IR3_BARRIER_CONST_W;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue