Sorry Aaron,
that I haven't had the time to save you some time...
I've only set CFLAGS="-fPIC" and CXXFLAGS="-fPIC"
and run
cmake ..
make llvm-spirv -j`nproc`
And could rebuild mesa with -Dopencl-spirv=true
-Dgallium-opencl=standalone
Only old luxmark-linux64-v2.0 (scene 'LuxBall Sky') show
Yup.
I thought I had tried to do that, but I probably messed it up. I just
ran the following for the spirv translator and was able to rebuild
mesa with the spirv functionality enabled:
mkdir build
cd build
CFLAGS="-fPIC" CXXFLAGS="-fPIC" LDFLAGS="-fPIC" ccmake ../
CFLAGS="-fPIC" CXXFLAGS="-fPIC"
Hey, I'm resending this in hope of getting some more eyes on it:
Patch: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1185
Draft for extension:
https://gentz.rocks/files/1569740182/EGL_CONFIG_SELECT_GROUP_MESA_v2.txt
Thanks!
___
mesa-dev mail