diff options
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index df6dd9b4759..81cde73798a 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -6962,8 +6962,8 @@ ast_interface_block::hir(exec_list *instructions, delete var; } else { if (this->layout.flags.q.explicit_binding) { - apply_explicit_binding(state, &loc, var, - var->get_interface_type(), &this->layout); + apply_explicit_binding(state, &loc, var, var->type, + &this->layout); } var->data.stream = qual_stream; |