turnip: rework streamout state and add missing counter buffer read/writes
authorJonathan Marek <jonathan@marek.ca>
Sat, 20 Jun 2020 17:46:01 +0000 (13:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Jun 2020 10:44:19 +0000 (10:44 +0000)
commit98b0d900474e1f3abdc3f465cbe659bf1caf95c6
tree9fd913e61ba1e5142c2d2e29637b677a5a6aeaf7
parent99eecd3775deabb161612825d09a7f579d438e23
turnip: rework streamout state and add missing counter buffer read/writes

Rework the streamout state and at the same time fix some issues, the
biggest one being to actually use the counter buffers instead of ignoring
them completely.

(note it appears the dEQP tests are bad and able to pass with the previous
broken behavior of not ever reading/writing from the counter buffers)

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5579>
src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h