[r600g] Driver fails to compile shader from the game tesseract - if/endif unbalanced in shader
Submitted by Tobias Droste
Assigned to Default DRI bug account
Created attachment 99288 TGSI shader dump
While trying different settings in tesseract r600g gives me this for the maximum setting of MLAA:
EE r600_shader.c:6180 tgsi_endif - if/endif unbalanced in shader EE r600_shader.c:157 r600_pipe_shader_create - translation from TGSI failed ! EE r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=1) -1
The offending TGSI shader is attachend. From a simple count of UIF end ENDIF it seems that they are not unbalanced and the problem is somewhere else.
Attachment 99288, "TGSI shader dump":