nir/lower_sysvals: Add support for un-lowered tess_level_inner/outer.
authorEmma Anholt <emma@anholt.net>
Mon, 20 Mar 2023 17:10:42 +0000 (10:10 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 29 Mar 2023 16:06:03 +0000 (16:06 +0000)
commitceef2b99823cd06305798ad869c60a814a5e64c8
treeb9c9790027cd8f132a269caad84f3a1c26866706
parent6ee4cd239d5956dc1faba42e7795b731a101d5f8
nir/lower_sysvals: Add support for un-lowered tess_level_inner/outer.

GLSL has been responsible for doing this, but we can just extract the
array index here.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21940>
src/compiler/nir/nir_lower_system_values.c