radeonsi: set uses_vmem_load_other for nir_intrinsic_load_buffer_amd
authorQiang Yu <yuq825@gmail.com>
Sat, 28 May 2022 14:20:08 +0000 (22:20 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Jun 2022 02:38:21 +0000 (02:38 +0000)
commit6b6aeeecbbd8ef7e603444a634bb2470ca64395d
tree76e91714fb4f6d56464a15efd0afd0bc362358c7
parent2b7e167bbdfa8bcdb826309698acee3f96c02331
radeonsi: set uses_vmem_load_other for nir_intrinsic_load_buffer_amd

Before lower TES load input to load buffer, mark this flag for this
intrinsic, otherwise we get corruption with GFX10 after the 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/gallium/drivers/radeonsi/si_shader_info.c