https://bugs.freedesktop.org/show_bug.cgi?id=65448
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.