intel/nir: handle image_sparse_load in storage format lowering
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 24 May 2023 15:38:48 +0000 (18:38 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 26 Jul 2023 23:02:34 +0000 (02:02 +0300)
commit300cc829de21338f3d1de92b3138a1e6d69fa1f6
tree2bac72f1025b6df512866cca2c37d1f1b2cc6c0e
parentd33aff783d9fcf60009f2979f697939093ef701d
intel/nir: handle image_sparse_load in storage format lowering

The last component of sparse load is the residency data. We don't want
to touch/convert that value with the format lowering.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23882>
src/intel/compiler/brw_nir_lower_storage_image.c