From d64e79bd9f7e24bfecbfe2c881372307cb5e6802 Mon Sep 17 00:00:00 2001 From: lewmpk Date: Tue, 12 Dec 2017 14:45:49 +0000 Subject: [PATCH] fix clang warning: logical-op-parentheses --- rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h index 89abd9b54f..d88cdd70e2 100644 --- a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h +++ b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h @@ -58,7 +58,7 @@ class FragmentProgramDecompiler { //Data fetched from the single precision register requires merging of the two half registers //TODO: Check individual swizzle channels - if (aliased_h0 && xy || aliased_h1 && zw) + if ((aliased_h0 && xy) || (aliased_h1 && zw)) return last_write_half; return false;