yuq / mesa-lima

Deprecated, new place: https://gitlab.freedesktop.org/lima
https://github.com/yuq/mesa-lima/wiki
165 stars 18 forks source link

Add disassembler to GP and PP compilers #22

Open anarsoul opened 6 years ago

anarsoul commented 6 years ago

It's pretty hard to catch bugs in codegeneration without a disassembler.

yuq commented 6 years ago

Lima has a disassemble tool here: https://gitorious.org/open-gpu-tools/cwabbotts-open-gpu-tools

anarsoul commented 6 years ago

I know, but I'd like to have it integrated into mesa driver. It's not convenient to feed hex dump to this tool manually. I'll work on it once I'm done with textures.

yuq commented 6 years ago

Oh, that's great if we can directly disassemble the shader binary in the mesa.