From 361683e0a6c555db8a4714c50d6f064a37fd8905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 28 Jul 2025 16:22:30 -0400 Subject: [PATCH] glsl: remove unused symbol_table_entry::get_interface Reviewed-by: Timothy Arceri Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/compiler/glsl/glsl_symbol_table.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/compiler/glsl/glsl_symbol_table.cpp b/src/compiler/glsl/glsl_symbol_table.cpp index 84752b2ecda..4cc2f8d44f2 100644 --- a/src/compiler/glsl/glsl_symbol_table.cpp +++ b/src/compiler/glsl/glsl_symbol_table.cpp @@ -59,23 +59,6 @@ public: } } - const glsl_type *get_interface(enum ir_variable_mode mode) - { - switch (mode) { - case ir_var_uniform: - return ibu; - case ir_var_shader_storage: - return iss; - case ir_var_shader_in: - return ibi; - case ir_var_shader_out: - return ibo; - default: - assert(!"Unsupported interface variable mode!"); - return NULL; - } - } - symbol_table_entry(ir_variable *v) : v(v), f(0), t(0), ibu(0), iss(0), ibi(0), ibo(0), a(0) {} symbol_table_entry(ir_function *f) :