radeonsi: lower nir_intrinsic_sparse_residency_code_and
authorQiang Yu <yuq825@gmail.com>
Wed, 18 May 2022 03:17:20 +0000 (11:17 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 20 May 2022 01:45:12 +0000 (01:45 +0000)
commitcc4d5b16661a156e6b3aa4170f7d8f7919efc270
tree9c36e14e51b64e3f9d392873ddb61db8d096cb09
parent2fbbb8ad631cfbe67345683233b57dcaef8a295e
radeonsi: lower nir_intrinsic_sparse_residency_code_and

This is required by lower_tg4_offsets which split one
sparseTextureGatherOffsetsARB call to four sparseTextureGatherOffsetARB
calls and merge their resisident results into one.

Fixes: ee040a6b639 ("radeonsi: enable ARB_sparse_texture2")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16599>
src/gallium/drivers/radeonsi/si_shader_nir.c