diff --git a/.pick_status.json b/.pick_status.json index cb49dbb1285..3b4dd144bbf 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -58,7 +58,7 @@ "description": "nir/types: fix glsl_matrix_type_is_row_major() assert", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/compiler/nir_types.cpp b/src/compiler/nir_types.cpp index 9d471480bbe..3fff85be703 100644 --- a/src/compiler/nir_types.cpp +++ b/src/compiler/nir_types.cpp @@ -313,7 +313,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; }