glsl: remove bogus assert in nir uniform linking

I'm not sure why this was first added but it causes an assert
on any uniform matrix.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3468>
This commit is contained in:
Timothy Arceri
2020-01-10 22:58:49 +11:00
committed by Marge Bot
parent b065d8fb8c
commit 55e4410b34

View File

@@ -555,7 +555,6 @@ nir_link_uniform(struct gl_context *ctx,
glsl_get_explicit_stride(type) : 0;
if (glsl_type_is_matrix(type)) {
assert(parent_type);
uniform->matrix_stride = glsl_get_explicit_stride(type);
uniform->row_major = glsl_matrix_type_is_row_major(type);