diff options
Diffstat (limited to 'src/compiler/glsl/link_functions.cpp')
-rw-r--r-- | src/compiler/glsl/link_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/link_functions.cpp b/src/compiler/glsl/link_functions.cpp index 537f4dc77ac..4e1028769fe 100644 --- a/src/compiler/glsl/link_functions.cpp +++ b/src/compiler/glsl/link_functions.cpp @@ -245,9 +245,9 @@ public: /* Similarly, we need implicit sizes of arrays within interface * blocks to be sized by the maximal access in *any* shader. */ - unsigned *const linked_max_ifc_array_access = + int *const linked_max_ifc_array_access = var->get_max_ifc_array_access(); - unsigned *const ir_max_ifc_array_access = + int *const ir_max_ifc_array_access = ir->var->get_max_ifc_array_access(); assert(linked_max_ifc_array_access != NULL); |