turnip: Fix crashes when geometry shader constants aren't used
authorHyunjun Ko <zzoon@igalia.com>
Thu, 23 Apr 2020 02:28:34 +0000 (02:28 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 05:19:04 +0000 (05:19 +0000)
commit227df2a2badf0047a3e6e2c1d196aa1b26427b10
treeaf2bc3dc3a1ee423e8a8800aa85860217518dfed
parent85f84ea148474554af42ca513b9cb7c43a78a738
turnip: Fix crashes when geometry shader constants aren't used

Fixes dEQP-VK.transform_feedback.fuzz.2_level_array.float.geometry, for
example.

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4693>
src/freedreno/vulkan/tu_pipeline.c