Mesa with LLVM on MacOS

Hi,

I have a MacBook Pro with an Intel Iris Plus Graphics 640, which gives maximum 4.1 OpenGL context. Thus, I would like to use Mesa as an alternative for getting higher contexes e.g. 4.5 or 4.6. I don’t care about performance in this phase.

I have built Mesa with LLVM (llvm-config… etc…) but even by placing the built libGL.dylib in the same folder with executable or setting DYLD_LIBRARY_PATH or DYLD_INSERT_LIBRARIES, I am not able to get the Mesa renderer.

Does Apple support this overriding of libGL with a custom one?

Any help/guidance would be really appreciated.

Thanks

Replies

I have already posted a similar question at Khronos group, but did not get a resolution yet https://community.khronos.org/t/mesa-with-llvm-on-macos/110296/1