From: Rob Clark Date: Tue, 19 Feb 2019 19:44:10 +0000 (-0500) Subject: freedreno/ir3/a6xx: fix load_ssbo barrier type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cadf6def0cc9770c6d0d9e0e15db6e14d3763684;p=mesa.git 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 --- diff --git a/src/freedreno/ir3/ir3_a6xx.c b/src/freedreno/ir3/ir3_a6xx.c index 7330acc7063..29b7ea8416c 100644 --- a/src/freedreno/ir3/ir3_a6xx.c +++ b/src/freedreno/ir3/ir3_a6xx.c @@ -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; }