mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 12:30:11 +01:00
aco: Fix unused variable warning by adding ASSERTED.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6436>
This commit is contained in:
parent
089bc22de5
commit
0d194a70c6
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ static void validate(aco::Program *program)
|
|||
if (!(aco::debug_flags & aco::DEBUG_VALIDATE_IR))
|
||||
return;
|
||||
|
||||
bool is_valid = aco::validate_ir(program);
|
||||
ASSERTED bool is_valid = aco::validate_ir(program);
|
||||
assert(is_valid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue