Created attachment 130077 [details] [review]
check for proper llvm version
I have mesa today's snapshot build against llvm 3.9.1.
When glxgears is started it aborts with the message:
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format
It looks like this intrinsic is supported with llvm 4.0 and higher, as when mesa is build against llvm 4.0 apps work as expected.
A simple patch to fix this error is attached.
Fixed thanks for testing/patch.
Created attachment 130081 [details]
Unigine Heaven output
Looks like it's not all, glxgears works fine though.
(In reply to Wojciech Pyczak from comment #2)
> Created attachment 130081 [details]
> Unigine Heaven output
> Looks like it's not all, glxgears works fine though.
Looks like Marek has found a correct solution: