Bug 78870

Summary: [r600g] Driver fails to compile shader from the game tesseract - if/endif unbalanced in shader
Product: Mesa Reporter: Tobias Droste <tdroste>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: gmsoft
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: TGSI shader dump

Description Tobias Droste 2014-05-19 01:44:11 UTC
Created attachment 99288 [details]
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.
Comment 1 GitLab Migration User 2019-09-18 19:16:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/512.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.