mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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:
parent
feeb8acf5c
commit
361683e0a6
1 changed files with 0 additions and 17 deletions
|
|
@ -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) :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue