3 ms·
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-alo
by nhaehnle 11y ago
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.
- h3r3tic 11y agoIt 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.