interface blocks can have row_major set
cc: mesa-stable
affects (zink):
dEQP-GLES2.functional.shaders*
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17238>
bool
glsl_matrix_type_is_row_major(const struct glsl_type *type)
{
- assert(type->is_matrix() && type->explicit_stride);
+ assert((type->is_matrix() && type->explicit_stride) || type->is_interface());
return type->interface_row_major;
}