diff options
author | Rob Clark <[email protected]> | 2019-02-19 14:44:10 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-02-20 18:50:08 -0500 |
commit | cadf6def0cc9770c6d0d9e0e15db6e14d3763684 (patch) | |
tree | cbcad27a7c956609e9d023fd69958f605c4a2aee | |
parent | 0df0fc28a5950e94008b8558a09226a45cc71d2a (diff) |
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 <[email protected]>
-rw-r--r-- | src/freedreno/ir3/ir3_a6xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |