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

Petr Sumbera petr.sumbera at oracle.com
Fri May 15 07:42:27 UTC 2020


Seems to be related to:

llvmpipe: switch to NIR by default

https://github.com/mesa3d/mesa/commit/e6b2af56cb037e3174d049478e0ad7c7715780e4#diff-ca9de5cfd0347994dacc6eca9816d334

Following helps me as workaround:

--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -434,8 +434,10 @@ llvmpipe_get_shader_param(struct pipe_screen *screen,
           struct llvmpipe_screen *lscreen = llvmpipe_screen(screen);
           if (lscreen->use_tgsi)
              return PIPE_SHADER_IR_TGSI;
+#if !defined(__sparc__)
           else
              return PIPE_SHADER_IR_NIR;
+#endif
        }

        switch (param) {

---

Any idea?

Petr

On 13.05.2020 18:27, 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?
> 
> Thanks you!
> 
> Petr


More information about the mesa-dev mailing list