Commit 4a139370 authored by Andrii Simiklit's avatar Andrii Simiklit Committed by andrii simiklit

glsl-arrays-copy-size-mismatch: Add test case for nir_opt_find_array_copies

This test checks that nir_opt_find_array_copies
handles correctly cases where arrays have a different length.

copy_deref creation for arrays with different lengths
leads to assertion in places like:
   "assert(glsl_get_length(parent->type) ==

v2: aoa was used
v3: increased the required glsl version to 1.2 due to GL_ARB_arrays_of_arrays
    ( Danylo Piliaiev <> )
Acked-by: Jason Ekstrand's avatarJason Ekstrand <>
Reviewed-by: Danylo Piliaiev's avatarDanylo Piliaiev <>
Bugzilla: default avatarAndrii Simiklit <>
parent f43cdc5e
Pipeline #108634 passed with stages
in 3 minutes and 47 seconds