ac/nir: Analyze culling shaders to remember which inputs are used when.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 5 Jul 2021 13:17:10 +0000 (15:17 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Jul 2021 23:56:33 +0000 (23:56 +0000)
commitfc1fabbabf3f8ac2f38ad51d8547182b523a33fb
treeb3e60286ad46ca72862bfab329db71b662f88276
parentfaf766b864d089c0eafc00018174f1732da4776e
ac/nir: Analyze culling shaders to remember which inputs are used when.

These will be useful for some optimizations.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10525>
src/amd/common/ac_nir.h
src/amd/common/ac_nir_lower_ngg.c