mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
freedreno/a5xx: fix (at least some) vtx formats
Swap/component-order doesn't seem to be quite what that is. At least
blob was always setting it to XYZW ('11') but we weren't. Causing
problems w/ formats like sint16.. Hard-coding this instead at least
seems to get glamor working.
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
2540226f66
commit
651f2655a8
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,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) |
|
||||
A5XX_VFD_DECODE_INSTR_SWAP(fd5_pipe2swap(pfmt)));
|
||||
0xc0000000); // XXX
|
||||
OUT_RING(ring, MAX2(1, elem->instance_divisor)); /* VFD_DECODE[j].STEP_RATE */
|
||||
|
||||
OUT_PKT4(ring, REG_A5XX_VFD_DEST_CNTL(j), 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue