From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 78870] New: [r600g] Driver fails to compile shader from the
game tesseract - if/endif unbalanced in shader
Date: Mon, 19 May 2014 01:44:11 +0000
Message-ID:
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 [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.