I've been trying to dig into one of the piglit tests that hangs on my card. I have the shaders, which mesa will turn into TGSI, which the driver will again turn to native instructions for Evergreen, in my case.

How could I find what instructions will actually be executed on the GPU? I tried setting RADEON_DEBUG but as my computer hangs I only get a 0 byte file on reboot. I need a way to simulate running it without actually running it...