[Mesa-dev] swrast gallium provider doesn't work on Solaris SPARC (Mesa 20 with LLVM 10)

Dave Airlie airlied at gmail.com
Sun Jun 28 22:31:47 UTC 2020


FYI:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5677

Dave.

On Thu, 21 May 2020 at 05:14, Roland Scheidegger <sroland at vmware.com> wrote:
>
> Oh I missed that sparc is big endian.
> Still not sure where the llvm IR would differ but indeed some different
> unpacking somewhere could explain things.
> (And I'd guess we'd get issues reported for other big endian archs soon
> enough too...)
>
> Roland
>
>
> Am 19.05.20 um 22:00 schrieb Adam Jackson:
> > On Wed, 2020-05-13 at 18:27 +0200, Petr Sumbera wrote:
> >> Hi,
> >>
> >> I have difficulties with Mesa update from version Mesa 18 (LLVM 6) where
> >> it used to work.
> >>
> >> Now with Mesa 20 and LLVM 10 glxgears doesn't show wheels but just some
> >> random rectangles. Please see attached picture.
> >>
> >> Any idea what could be possibly wrong?
> >
> > You have the misfortune to be using a big-endian CPU, and that
> > corruption looks quite a lot like the vertex processing stage getting
> > channel order wrong. Since the internals of both TGSI and NIR ought to
> > be endian-indifferent, I suspect the error would be at point where you
> > acquire the vertex data from the app and need to do machine-specific
> > unpacking, but that's just a guess. Dumping the IR generated by each
> > should hopefully be instructive.
> >
> > It might also be worth trying to build Mesa 20 against LLVM 6 to see if
> > that points to anything in LLVM, but that's probably a bit less likely.
> >
> > - ajax
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Csroland%40vmware.com%7C257d443c503846a91b3708d7fc2f4a38%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637255152405729735&sdata=6bzf3CQhwNaivcjX4%2BnqxjDJ2TaIdI8MDArHSwgVxSo%3D&reserved=0
> >
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list