[Bug 65448] New: Driver fails to compile complex shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 6 02:29:13 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65448

          Priority: medium
            Bug ID: 65448
          Assignee: dri-devel at lists.freedesktop.org
           Summary: Driver fails to compile complex shaders
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: greg at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130606/573f8d5a/attachment.html>


More information about the dri-devel mailing list