[Mesa-dev] [PATCH mesa] util: use *unsigned* ints for bit operations

Dave Airlie airlied at gmail.com
Fri Nov 2 07:03:29 UTC 2018


On Fri, 2 Nov 2018 at 15:22, Dave Airlie <airlied at gmail.com> wrote:
>
> On Tue, 23 Oct 2018 at 10:57, Eric Anholt <eric at anholt.net> wrote:
> >
> > Eric Engestrom <eric.engestrom at intel.com> writes:
> >
> > > Fixes errors thrown by GCC's Undefined Behaviour sanitizer (ubsan) every
> > > time this macro is used.
>
> This seems to be causing problems for me here on gcc8 (8.0.1 and
> 8.2.1) in Fedora 28.
>
> ./bin/texelFetch fs usampler2DMS 2
>
> is failing here with:
> Failed to compile fragment shader: 0:6(1): error: invalid input layout
> qualifier used
>
> gcc is probably broken, but we might want to revert his from the tree
> and upcoming release until we can figure it out.

Actually not related to this, it looks like gcc 8.2.1 has broken out bitset.

I probably won't get to this until next week so if someone else has
time, feel free.

Dave.


More information about the mesa-dev mailing list