diff --git a/src/intel/vulkan/anv_shader_compile.c b/src/intel/vulkan/anv_shader_compile.c index 0514cd3f695..78fa4b1d467 100644 --- a/src/intel/vulkan/anv_shader_compile.c +++ b/src/intel/vulkan/anv_shader_compile.c @@ -199,6 +199,8 @@ anv_shader_preprocess_nir(struct vk_physical_device *device, }; NIR_PASS(_, nir, nir_lower_sysvals_to_varyings, &sysvals_to_varyings); + NIR_PASS(_, nir, nir_update_image_intrinsic_from_var); + const nir_opt_access_options opt_access_options = { .is_vulkan = true, };