mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
freedreno/a5xx: fix SSBO emit for non-zero offset
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
5f25ab4fee
commit
4a9aad96aa
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ emit_ssbos(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
|||
struct pipe_shader_buffer *buf = &so->sb[i];
|
||||
if (buf->buffer) {
|
||||
struct fd_resource *rsc = fd_resource(buf->buffer);
|
||||
OUT_RELOCW(ring, rsc->bo, 0, 0, 0);
|
||||
OUT_RELOCW(ring, rsc->bo, buf->buffer_offset, 0, 0);
|
||||
} else {
|
||||
OUT_RING(ring, 0x00000000);
|
||||
OUT_RING(ring, 0x00000000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue