mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
freedreno/ir3/a6xx: fix load_ssbo barrier type.
Silly copy/pasta bug, since load_image is actually the same instruction but different barrier class. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
0df0fc28a5
commit
cadf6def0c
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ emit_intrinsic_load_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr,
|
|||
sam = ir3_SAM(b, OPC_ISAM, TYPE_U32, 0b1, 0,
|
||||
tex_idx, tex_idx, ir3_create_collect(ctx, coords, 2), NULL);
|
||||
|
||||
sam->barrier_class = IR3_BARRIER_IMAGE_R;
|
||||
sam->barrier_conflict = IR3_BARRIER_IMAGE_W;
|
||||
sam->barrier_class = IR3_BARRIER_BUFFER_R;
|
||||
sam->barrier_conflict = IR3_BARRIER_BUFFER_W;
|
||||
|
||||
dst[i] = sam;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue