anv: fix null descriptor handling with A64 messages
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 21 Mar 2023 22:22:22 +0000 (00:22 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 May 2023 06:36:37 +0000 (06:36 +0000)
commitefcda1c530a5632f2a6517ec250755bb2a318b05
tree46d8e929b502f8b7ae9c5d4c5e088cf75a6431df
parent944004dc8acbf9634875e63fcdc9b1158f0b2fa7
anv: fix null descriptor handling with A64 messages

global load/store (or A64 messages) need the NIR bound checking which
is enabled by "robust" behavior even when robust behavior is disabled.

Many thanks to Christopher Snowhill for pointing out the pushed
constant related issue with the initial version of this patch.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21645>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c