Silly copy/pasta bug, since load_image is actually the same instruction
but different barrier class.
Signed-off-by: Rob Clark <robdclark@gmail.com>
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;
}