etnaviv: fix vertex buffer state emission for single stream GPUs
authorLucas Stach <l.stach@pengutronix.de>
Mon, 16 Sep 2019 12:37:01 +0000 (14:37 +0200)
committerLucas Stach <dev@lynxeye.de>
Mon, 14 Oct 2019 19:18:37 +0000 (19:18 +0000)
commitce23bc9283cbe1809966530a75e86cc334ef385d
treeb97fedfdecbafc8d3c6dc4425ace78089cd84b2e
parentc2efc7c6378ea5cc49c801153129c0f0cc2f3b23
etnaviv: fix vertex buffer state emission for single stream GPUs

GPUs with a single supported vertex stream must use the single state
address to program the stream.

Fixes: 3d09bb390a39 (etnaviv: GC7000: State changes for HALTI3..5)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/etnaviv_emit.c