turnip: refactor draw states and dynamic states
authorJonathan Marek <jonathan@marek.ca>
Sun, 14 Jun 2020 14:52:37 +0000 (10:52 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Jun 2020 15:32:30 +0000 (15:32 +0000)
commit233610f8cf8d8810173a7eac0c046574aeb485f9
treee48411f3acfbf2983b2ca7394830e8e52c9ae184
parent62a4db4c0f15905d6988d4024e0dc93c095e0378
turnip: refactor draw states and dynamic states

This reworks dynamic states to use draw states, and reworks draw states.

This moves towards doing as little as possible in bind_draw_states.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5446>
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