https://bugs.freedesktop.org/show_bug.cgi?id=78870
Priority: medium Bug ID: 78870 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] Driver fails to compile shader from the game tesseract - if/endif unbalanced in shader Severity: normal Classification: Unclassified OS: All Reporter: tdroste@gmx.de Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 99288 --> https://bugs.freedesktop.org/attachment.cgi?id=99288&action=edit 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.