[Mesa-dev] [Bug 105783] mesa-18.0.0/src/gallium/drivers/vc5/vc5_draw.c:589: duplicate expression ?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 28 11:18:58 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105783

            Bug ID: 105783
           Summary: mesa-18.0.0/src/gallium/drivers/vc5/vc5_draw.c:589:
                    duplicate expression ?
           Product: Mesa
           Version: 17.3
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: dcb314 at hotmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

[mesa-18.0.0/src/gallium/drivers/vc5/vc5_draw.c:589]: (style) Same expression
on both sides of '||'.

Source code is

      if (surf->format == PIPE_FORMAT_B4G4R4A4_UNORM ||
          surf->format == PIPE_FORMAT_B4G4R4A4_UNORM) {

Suggest either simplify expression or use some other constant.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180328/8fedf7b6/attachment-0001.html>


More information about the mesa-dev mailing list