News for hackers. Stuff that matters.
Re:Hacking GCN via OpenGL by Sanddancer on Saturday November 21, 2015 @04:22AM (#10606287)
Because Mesa is an OpenGL system, and as such, doesn't support some of the instructions that are available for the card. Also, the Mesa GCN code didn't support GCN 1.2 until a couple months ago, while the first GCN 1.2 cards were released last year. Finally, as far as I can tell, Mesa doesn't expose an assembler and linker for shader programs, so he'd probably spend more time chopping Mesa up to get what he wanted.
Re:Hacking GCN via OpenGL by nhaehnle on Saturday November 21, 2015 @06:43AM (#10606534)
There is an assembler for GCN in the AMDGPU backend of LLVM, which is what Mesa uses to compile shaders. I haven't actually tried to use the assembler stand-alone, but for any serious work in that direction, it makes sense to use that.
Re:Hacking GCN via OpenGL by h3r3tic on Saturday November 21, 2015 @08:54AM (#10606796)
It will definitely be useful for something more advanced, thanks! One feature I did not want was register allocation, as I needed full control over it. I figured it would be quicker to roll something custom than wrangle a complex piece of software to my needs.