panvk: Call nir_opt_access
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36629>
This commit is contained in:
committed by
Marge Bot
parent
3d85580779
commit
0c7aaa7aad
@@ -776,6 +776,11 @@ panvk_lower_nir(struct panvk_device *dev, nir_shader *nir,
|
||||
to_panvk_instance(dev->vk.physical->instance);
|
||||
mesa_shader_stage stage = nir->info.stage;
|
||||
|
||||
const nir_opt_access_options access_options = {
|
||||
.is_vulkan = true,
|
||||
};
|
||||
NIR_PASS(_, nir, nir_opt_access, &access_options);
|
||||
|
||||
#if PAN_ARCH >= 10
|
||||
if (stage == MESA_SHADER_VERTEX && compile_input->view_mask) {
|
||||
nir_lower_multiview_options options = {
|
||||
|
||||
Reference in New Issue
Block a user