r600/sfn: Silence warnings about unused parameters

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21357>
This commit is contained in:
Gert Wollny 2023-01-27 11:33:46 +01:00 committed by Marge Bot
parent c527293924
commit d1f419b365
2 changed files with 2 additions and 2 deletions

View file

@ -1445,7 +1445,7 @@ r600_lower_64bit_load_const(nir_builder *b, nir_load_const_instr *instr)
}
static bool
r600_lower_64bit_to_vec2_instr(nir_builder *b, nir_instr *instr, void *data)
r600_lower_64bit_to_vec2_instr(nir_builder *b, nir_instr *instr, UNUSED void *data)
{
switch (instr->type) {
case nir_instr_type_load_const:

View file

@ -124,7 +124,7 @@ PeepholeVisitor::convert_to_mov(AluInstr *alu, int src_idx)
}
void
PeepholeVisitor::visit(AluGroup *instr)
PeepholeVisitor::visit(UNUSED AluGroup *instr)
{
}