Skip to content

nir/split_vars: fix incorrect assert

In CL in particular this assert might not hold.

Indeed because of previous passes like nir_lower_vars_to_explicit_types() which which will call glsl_get_cl_type_size_align() the bare type of a variable vec4[3] will be turned into vec4x0a16B[3] which will now have a different bare type than variable.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com

Merge request reports