diff --git a/src/compiler/nir_types.cpp b/src/compiler/nir_types.cpp index 4693ddd4905..1f86a386933 100644 --- a/src/compiler/nir_types.cpp +++ b/src/compiler/nir_types.cpp @@ -319,7 +319,7 @@ glsl_type_is_matrix(const struct glsl_type *type) 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; }