summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_dead_code.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/opt_dead_code.cpp')
-rw-r--r--src/compiler/glsl/opt_dead_code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/opt_dead_code.cpp b/src/compiler/glsl/opt_dead_code.cpp
index dbdb7de8bb8..35601196974 100644
--- a/src/compiler/glsl/opt_dead_code.cpp
+++ b/src/compiler/glsl/opt_dead_code.cpp
@@ -144,7 +144,7 @@ do_dead_code(exec_list *instructions, bool uniform_locations_assigned)
* layouts, do not eliminate it.
*/
if (entry->var->is_in_buffer_block()) {
- if (entry->var->get_interface_type()->interface_packing !=
+ if (entry->var->get_interface_type_packing() !=
GLSL_INTERFACE_PACKING_PACKED)
continue;
}