fix clang warning: logical-op-parentheses

This commit is contained in:
lewmpk 2017-12-12 14:45:49 +00:00 committed by Nekotekina
parent 489ded43b1
commit d64e79bd9f
1 changed files with 1 additions and 1 deletions

View File

@ -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;