mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
nir: fix unused function warning in src/compiler/nir/nir.c
This commit fixes the following warning:
../src/compiler/nir/nir.c:1827:1: warning: ‘dest_is_ssa’ defined but not used [-Wunused-function]
1827 | dest_is_ssa(nir_dest *dest, void *_state)
| ^~~~~~~~~~~
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
4f8cc032b7
commit
acfea09dbd
1 changed files with 2 additions and 1 deletions
|
|
@ -1823,9 +1823,10 @@ cursor_next_instr(nir_cursor cursor)
|
|||
unreachable("Inavlid cursor option");
|
||||
}
|
||||
|
||||
static bool
|
||||
ASSERTED static bool
|
||||
dest_is_ssa(nir_dest *dest, void *_state)
|
||||
{
|
||||
(void) _state;
|
||||
return dest->is_ssa;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue