mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 09:40:29 +01:00
nir: Delete unused is_var_constant() helper
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
This commit is contained in:
parent
42f7e124ca
commit
de856c6170
1 changed files with 0 additions and 6 deletions
|
|
@ -199,12 +199,6 @@ is_var_alu(nir_loop_variable *var)
|
|||
return var->def->parent_instr->type == nir_instr_type_alu;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_var_constant(nir_loop_variable *var)
|
||||
{
|
||||
return var->def->parent_instr->type == nir_instr_type_load_const;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_var_phi(nir_loop_variable *var)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue