projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48fde1
)
freedreno/a5xx: fixed instanced
author
Rob Clark
<robdclark@gmail.com>
Tue, 10 Jan 2017 16:43:12 +0000
(11:43 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Wed, 11 Jan 2017 00:40:00 +0000
(19:40 -0500)
Add missing bit, now that we know where it is.
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 6ef59c8e42363a0244c95be1096e1dacd3885228..0aafc4b962dfd0826b903f2e927a0e8b0cf0d0a6 100644
(file)
--- a/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
+++ b/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
@@
-378,6
+378,7
@@
fd5_emit_vertex_bufs(struct fd_ringbuffer *ring, struct fd5_emit *emit)
OUT_PKT4(ring, REG_A5XX_VFD_DECODE(j), 2);
OUT_RING(ring, A5XX_VFD_DECODE_INSTR_IDX(j) |
A5XX_VFD_DECODE_INSTR_FORMAT(fmt) |
+ COND(elem->instance_divisor, A5XX_VFD_DECODE_INSTR_INSTANCED) |
0xc0000000); // XXX
OUT_RING(ring, MAX2(1, elem->instance_divisor)); /* VFD_DECODE[j].STEP_RATE */