nir: Delete unused is_var_constant() helper
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
This commit is contained in:

committed by
Marge Bot

parent
42f7e124ca
commit
de856c6170
@@ -199,12 +199,6 @@ is_var_alu(nir_loop_variable *var)
|
|||||||
return var->def->parent_instr->type == nir_instr_type_alu;
|
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
|
static inline bool
|
||||||
is_var_phi(nir_loop_variable *var)
|
is_var_phi(nir_loop_variable *var)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user