Bug 78870 - [r600g] Driver fails to compile shader from the game tesseract - if/endif unbalanced in shader
Summary: [r600g] Driver fails to compile shader from the game tesseract - if/endif unb...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2014-05-19 01:44 UTC by Tobias Droste
Modified: 2019-09-18 19:16 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

TGSI shader dump (140.82 KB, text/plain)
2014-05-19 01:44 UTC, Tobias Droste

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.