ac/nir: add nir_intrinsic_load_hs_out_patch_data_offset_amd
authorQiang Yu <yuq825@gmail.com>
Mon, 23 May 2022 09:23:57 +0000 (17:23 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Jun 2022 02:38:21 +0000 (02:38 +0000)
commitfdf589321c5acfce67c18dc2455fc3a54fd86135
tree70f078cbe2f41b8f37275bc3a62c6f09bd021b98
parent2ba6d2b10739d9ca06099197cc44b49c77fd8b3a
ac/nir: add nir_intrinsic_load_hs_out_patch_data_offset_amd

Also add radv and radeonsi implementation. Will be used in tess lowering.

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/amd/vulkan/radv_nir_lower_abi.c
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_intrinsics.py
src/gallium/drivers/radeonsi/si_shader_llvm.c