diff options
author | Rob Clark <[email protected]> | 2016-12-09 13:10:03 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-12-18 13:47:38 -0500 |
commit | 651f2655a86d430bdb79b5562295c2fa44c9b6ff (patch) | |
tree | 763a9e5e9b0eaece8d3d0f5ba243d716a842dd70 /src/gallium/drivers/freedreno | |
parent | 2540226f66b439bf1c0d819efb02a38d793be859 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c index 57edb90dd81..35ecb61d24d 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c @@ -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); |