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

2020-05-19 Thread 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Mesa git and LLVM git (11) compilation trouble - LLVMFixedVectorTypeKind now undeclared

2020-05-19 Thread Dieter Nützel

Am 19.05.2020 09:32, schrieb Michel Dänzer:

On 2020-05-19 4:19 a.m., Dieter Nützel wrote:

Hello Marek, Jan, Karol et al.,

I'm hunting a radeonsi (Polaris 20) Mesa git / LVVM 11 regression and
current LLVM git code can't compile SPIRV-LLVM-Translator any longer 
and

LLVM 11 without the former installed can't compile
src/amd/llvm/ac_nir_to_llvm.c any more...


See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5087 .


Your are my hero ;-) - Thanks!

Dieter
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Mesa git and LLVM git (11) compilation trouble - LLVMFixedVectorTypeKind now undeclared

2020-05-19 Thread Michel Dänzer
On 2020-05-19 4:19 a.m., Dieter Nützel wrote:
> Hello Marek, Jan, Karol et al.,
> 
> I'm hunting a radeonsi (Polaris 20) Mesa git / LVVM 11 regression and
> current LLVM git code can't compile SPIRV-LLVM-Translator any longer and
> LLVM 11 without the former installed can't compile
> src/amd/llvm/ac_nir_to_llvm.c any more...

See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5087 .


-- 
Earthling Michel Dänzer   |   https://redhat.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev