diff options
Diffstat (limited to 'src/glsl/nir/nir_validate.c')
-rw-r--r-- | src/glsl/nir/nir_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_validate.c b/src/glsl/nir/nir_validate.c index d4a8cd588c7..f6a55ccabd5 100644 --- a/src/glsl/nir/nir_validate.c +++ b/src/glsl/nir/nir_validate.c @@ -275,7 +275,7 @@ validate_deref_chain(nir_deref *deref, validate_state *state) case nir_deref_type_struct: assert(deref->type == glsl_get_struct_field(parent->type, - nir_deref_as_struct(deref)->elem)); + nir_deref_as_struct(deref)->index)); break; case nir_deref_type_var: |