Linux shader issues
Posted: Sun Jun 12, 2016 1:09 pm
The reason #2176 happens is because the LLVM shader compiler in MESA can't handle indirect addressing...
In #3719 however I cannot see any indirect addressing within the shader but it's still complaining about it and failing to build.
In fact looking at the old problem masque/tichy was having I can't see any indirect addressing in the eclipse code either.
So I wonder if the MESA shader compiler is falsely flagging it as using indirection, falling back to the TGSI compiler which then fails.
It works with the proprietary AMD drivers :/ Althoguh there I think the precision is lowered due to some odd distortion in the generated texture.
The Aras-P fork of glsl-optimizer doesn't think that there's ANY indirect addressing in the shader.
I don't suppose anyone knows a MESA driver dev with an R600 based GPU I could go poke with a stick?
PPS: I am having to reinstall Xubuntu due to numerous issues and will have to start again from scratch due to Xorg vs fglrx :(
In #3719 however I cannot see any indirect addressing within the shader but it's still complaining about it and failing to build.
In fact looking at the old problem masque/tichy was having I can't see any indirect addressing in the eclipse code either.
So I wonder if the MESA shader compiler is falsely flagging it as using indirection, falling back to the TGSI compiler which then fails.
It works with the proprietary AMD drivers :/ Althoguh there I think the precision is lowered due to some odd distortion in the generated texture.
The Aras-P fork of glsl-optimizer doesn't think that there's ANY indirect addressing in the shader.
I don't suppose anyone knows a MESA driver dev with an R600 based GPU I could go poke with a stick?
PS: please note that this a mix of brain-dump and tracking for these issues for me. I might delete the thread once/if the issues are all fixed.<masque> Don't know... maybe on the mesa mailing lists http://www.mesa3d.org/lists.html or #dri-devel channel
<jameson> [ Mesa Mailing Lists ]
<masque> There are some name of people who contributed to r600 recently https://cgit.freedesktop.org/mesa/mesa/ ... rep&q=r600
<jameson> [ mesa/mesa - The Mesa 3D Graphics Library ]
<fluffyfreak> im just trying to put together a reduced size repoduction case
<fluffyfreak> no-one is going to want to download, build & run all of pioneer just for a little bug
<fluffyfreak> then those lists might be useful :)
<fluffyfreak> good that people are working on it though!
PPS: I am having to reinstall Xubuntu due to numerous issues and will have to start again from scratch due to Xorg vs fglrx :(