Module: Mesa Branch: master Commit: 0d194a70c6497ea77bb57aa22e229c4fceabb653 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d194a70c6497ea77bb57aa22e229c4fceabb653
Author: Timur Kristóf <[email protected]> Date: Sat Aug 22 20:41:45 2020 +0200 aco: Fix unused variable warning by adding ASSERTED. Signed-off-by: Timur Kristóf <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6436> --- src/amd/compiler/aco_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_interface.cpp b/src/amd/compiler/aco_interface.cpp index 8f45f503a82..49379cb3169 100644 --- a/src/amd/compiler/aco_interface.cpp +++ b/src/amd/compiler/aco_interface.cpp @@ -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); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
