From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 65448] New: Driver fails to compile complex shaders
Date: Thu, 06 Jun 2013 09:29:13 +0000
Message-ID:
Priority
medium
Bug ID
65448
Assignee
dri-devel@lists.freedesktop.org
Summary
Driver fails to compile complex shaders
Severity
normal
Classification
Unclassified
OS
Linux (All)
Reporter
greg@chown.ath.cx
Hardware
x86-64 (AMD64)
Status
NEW
Version
git
Component
Drivers/Gallium/r600
Product
Mesa
The r600 driver fails to translate TGSI to bytecode for complex shaders.
https://www.shadertoy.com/view/MdX3Rr is an example for this. The fragment
shader compiles into a pretty big TGSI program (about 6500 instructions). r600
takes a long time (tens of seconds) trying to transform it into bytecode, but
in then end it fails:
EE ../../../../../mesa/src/gallium/drivers/r600/r600_shader.c:158
r600_pipe_shader_create - translation from TGSI failed !
EE ../../../../../mesa/src/gallium/drivers/r600/r600_state_common.c:753
r600_shader_select - Failed to build shader variant (type=1) -1
This happens with many of the shaders from shadertoy.com.