glsl: remove unused symbol_table_entry::get_interface

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36425>
This commit is contained in:
Marek Olšák 2025-07-28 16:22:30 -04:00 committed by Marge Bot
parent feeb8acf5c
commit 361683e0a6

View file

@ -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) :