nouveau/codegen: Add capability to pre-specify tessellation domain
authorGeorge Ouzounoudis <geothrock@gmail.com>
Mon, 24 Oct 2022 17:02:02 +0000 (20:02 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Aug 2023 18:58:04 +0000 (18:58 +0000)
commitcdece16cf4e004a7b7c8d4b39988fa0eabe0dd34
tree7afb42258e13732fd973b3ff8c2a2f8b7e8ecd9b
parentdf5d1ef2b590e60cf082506ce2898266ba9d3ad4
nouveau/codegen: Add capability to pre-specify tessellation domain

In the case of SPIRV tessellation shaders, the execution mode can be
specified in the tessellation control shader. So we need a way to know the domain
when compiling the tessellation evaluation shader.

Acked-by: M Henning <drawoc@darkrefraction.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24327>
src/nouveau/codegen/nv50_ir_driver.h
src/nouveau/codegen/nv50_ir_lowering_nvc0.cpp