turnip: Move vertex buffer bindings to SET_DRAW_STATE.
authorEric Anholt <eric@anholt.net>
Thu, 4 Jun 2020 17:10:01 +0000 (10:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Jun 2020 19:42:54 +0000 (19:42 +0000)
commit52942f18c60253ad79f7d7fa26775bda83860e8a
tree5c24186ef62772237eabd72a50b118b16a75f580
parentc8c7450fc73b888504174733e905f4a69a72062a
turnip: Move vertex buffer bindings to SET_DRAW_STATE.

This means that the HW can skip over the vertex buffer state when it's not
used in a bin.  The blob also has this behavior.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5321>
src/freedreno/vulkan/tu_cmd_buffer.c