turnip: use patchControlPoints for HS_INPUT_SIZE value
authorJonathan Marek <jonathan@marek.ca>
Tue, 14 Jul 2020 14:11:11 +0000 (10:11 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 12:17:38 +0000 (12:17 +0000)
commite646e77e185a3f2b451f0f97221c9d9919311375
tree2b1af2cae307b93109912b47810fec3348976eb5
parentda49a45351550e50cf105d2d14e8e8c9b8188e08
turnip: use patchControlPoints for HS_INPUT_SIZE value

It should be calculated from patchControlPoints, not tcs_vertices_out.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5765>
src/freedreno/registers/a6xx.xml
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
src/gallium/drivers/freedreno/a6xx/fd6_program.c