Sorry that it took so long. I have been able to compile Mesa from git and noticed that the patch has already been applied. Unfortunately Hero Siege still doesn't run without dumping both vertex and pixel shaders.