diff options
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_nir_lower_multiview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_nir_lower_multiview.c b/src/intel/vulkan/anv_nir_lower_multiview.c index c42d9c2dfa2..ffe9e7bb972 100644 --- a/src/intel/vulkan/anv_nir_lower_multiview.c +++ b/src/intel/vulkan/anv_nir_lower_multiview.c @@ -136,7 +136,7 @@ build_view_index(struct lower_multiview_state *state) nir_deref_instr *deref = nir_build_deref_var(b, idx_var); if (glsl_type_is_array(type)) - deref = nir_build_deref_array(b, deref, nir_imm_int(b, 0)); + deref = nir_build_deref_array_imm(b, deref, 0); state->view_index = nir_load_deref(b, deref); } |