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: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0731504128==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A6E8E5C33 for ; Thu, 6 Jun 2013 02:29:13 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0731504128== Content-Type: multipart/alternative; boundary="1370510953.FF7dAB0.29011"; charset="us-ascii" --1370510953.FF7dAB0.29011 Date: Thu, 6 Jun 2013 09:29:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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. -- You are receiving this mail because: You are the assignee for the bug. --1370510953.FF7dAB0.29011 Date: Thu, 6 Jun 2013 09:29:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1370510953.FF7dAB0.29011-- --===============0731504128== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0731504128==--