From: bugzilla-daemon@freedesktop.org
Subject: [Bug 31246] Reproducible hangs on piglit tests with 5850
Date: Sat, 6 Nov 2010 12:44:19 -0700 (PDT)
Message-ID: <20101106194419.EA1E313004E@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 179709EFC7
for ;
Sat, 6 Nov 2010 12:44:20 -0700 (PDT)
In-Reply-To:
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
https://bugs.freedesktop.org/show_bug.cgi?id=31246
--- Comment #2 from Kjell Rune Skaaraas 2010-11-06 12:44:17 PDT ---
To put it this way, I found the patches you referred to but they don't tell me
much. I did dig through the piglet code and found the definition of the test
though, it's in a bit of meta-code:
[require]
GL >= 2.0
GLSL >= 1.10
[vertex shader]
void main()
{
gl_Position = gl_Vertex;
}
[fragment shader]
uniform int early;
void main()
{
gl_FragColor = vec4(0.0, 1.0, 0.0, 0.0);
if (early != 0) /* always true */
return;
gl_FragColor = vec4(1.0, 0.0, 0.0, 0.0);
}
[test]
uniform int early 1
draw rect -1 -1 2 2
probe all rgba 0.0 1.0 0.0 0.0
----
So my next question is really how I can look at what GPU instructions the
driver *would* create for these shaders, without actually running the shaders.
I tried catching that with RADEON_DEBUG=all but that just gives me a zero byte
file after reboot so it's no good.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.