projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ab85a
)
freedreno: a2xx: fix non-zero texture base offsets
author
Jonathan Marek
<jonathan@marek.ca>
Mon, 10 Dec 2018 03:31:26 +0000
(22:31 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 21 Jan 2019 14:22:27 +0000
(09:22 -0500)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c
b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c
index ce275a78a6147abca10cb6198476fbf7d934a05b..ac2a02dfae90a94ed2855000e029f5d5fd60ebc7 100644
(file)
--- a/
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
+++ b/
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
@@
-137,7
+137,7
@@
emit_texture(struct fd_ringbuffer *ring, struct fd_context *ctx,
OUT_RING(ring, sampler->tex0 | view->tex0);
if (rsc)
- OUT_RELOC(ring, rsc->bo,
0
, view->tex1, 0);
+ OUT_RELOC(ring, rsc->bo,
fd_resource_offset(rsc, 0, 0)
, view->tex1, 0);
else
OUT_RING(ring, 0);