nvk: Respect tessellation domain origin state
authorGeorge Ouzounoudis <geothrock@gmail.com>
Fri, 14 Apr 2023 13:07:52 +0000 (16:07 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:05 +0000 (21:32 +0000)
commitf561406d38bcd6f3a99c44ef7c94b184fe4c8374
treed46ef6109d39c291043013176c35f7ee9a8eb202
parent93369f1f96b6fd33c1b941d7db3644e08cc9c09b
nvk: Respect tessellation domain origin state

When switching to lower left tessellation domain origin we need to
switch the orientation for triangles/quads. The changes are based on
what anv and radv do.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_graphics_pipeline.c