projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f25ab4
)
freedreno/a5xx: fix SSBO emit for non-zero offset
author
Rob Clark
<robdclark@gmail.com>
Sat, 11 Nov 2017 15:50:20 +0000
(10:50 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sun, 12 Nov 2017 17:29:00 +0000
(12:29 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
index 39cc77d40a35569b3574a12b058a6fe7d2c5b5ae..2353b8c0ec4cc9004c1cc8dd9a315f95c4846332 100644
(file)
--- a/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
+++ b/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
@@
-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);