turnip: Lower shaders for tessellation
authorBrian Ho <brian@brkho.com>
Fri, 24 Apr 2020 15:05:48 +0000 (08:05 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Jun 2020 14:35:45 +0000 (14:35 +0000)
commitb09e690f3b77accfe62398ed314b6ddb0303bf7b
treead3f240b4d4edb854baa9d4cf58d7fc462d2c2d6
parentd2df0761200ba9680f0d22defaa02c33fb051fcf
turnip: Lower shaders for tessellation

To enable lowering of tess-related shaders, this commit sets the
tessellation primitive field of the ir3_shader_key. In addition,
this commit sets various tessellation flags for
spirv_to_nir configuration.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5059>
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_shader.c