nir: add nir_intrinsic_optimization_barrier_vgpr_amd for LLVM
authorMarek Olšák <marek.olsak@amd.com>
Sat, 22 Oct 2022 00:29:31 +0000 (20:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 29 Oct 2022 18:38:33 +0000 (18:38 +0000)
commit0ac37b595a7f6ae135b9c47d6ebcaa133323ff65
tree443786eebb00b45f7564e04b1eeac89bde38c943
parent041f48458831ec6a1f66e94f4b09e70b28f5d257
nir: add nir_intrinsic_optimization_barrier_vgpr_amd for LLVM

We need this for the MSAA resolve shader.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19243>
src/amd/llvm/ac_nir_to_llvm.c
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_intrinsics.py