[Bug 31246] Reproducible hangs on piglit tests with 5850
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Nov 6 12:44:19 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31246
--- Comment #2 from Kjell Rune Skaaraas <temp9476-freedesktop at yahoo.no> 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.
More information about the dri-devel
mailing list