radeonsi: enable PIPE_CAP_GLSL_TESS_LEVELS_AS_INPUTS
authorQiang Yu <yuq825@gmail.com>
Sat, 28 May 2022 10:09:56 +0000 (18:09 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Jun 2022 02:38:21 +0000 (02:38 +0000)
commit2b7e167bbdfa8bcdb826309698acee3f96c02331
tree5bc2683f1f53680eb37639a22127670afafab890
parent7598bfd768f02d1d77007ebc07990db9c83a6fb4
radeonsi: enable PIPE_CAP_GLSL_TESS_LEVELS_AS_INPUTS

This can remove special handling of tessfactors which also benifit
the nir lower pass which does not handle these as system value.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16705>
src/amd/llvm/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/radeonsi/si_shader_info.c
src/gallium/drivers/radeonsi/si_shader_llvm.c