Looks good to me.<br><br>Marek<br><br><div class="gmail_quote">On Sat, Apr 16, 2011 at 1:31 AM, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net">eric@anholt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
These two tests were trying to check what buffer 0's type was, not<br>
whether the pipeline as a whole was "fixed" for the purpose of<br>
clamping.<br>
---<br>
tests/spec/arb_color_buffer_float/mrt.c | 4 ++--<br>
1 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/tests/spec/arb_color_buffer_float/mrt.c b/tests/spec/arb_color_buffer_float/mrt.c<br>
index a13d0fb..f2e12fd 100644<br>
--- a/tests/spec/arb_color_buffer_float/mrt.c<br>
+++ b/tests/spec/arb_color_buffer_float/mrt.c<br>
@@ -97,14 +97,14 @@ test()<br>
glDisable(GL_FRAGMENT_PROGRAM_ARB);<br>
<br>
expected = clamped ? clamped_pixels :<br>
- fixed ? clamped_pixels :<br>
+ fixed0 ? clamped_pixels :<br>
pixels;<br>
expected1 = clamped ? clamped_pixels :<br>
fixed1 ? clamped_pixels :<br>
pixels;<br>
<br>
glReadBuffer(GL_COLOR_ATTACHMENT0);<br>
- printf("Probing buffer 0 (%s)\n", fixed ? "fixed point" : "floating point");<br>
+ printf("Probing buffer 0 (%s)\n", fixed0 ? "fixed point" : "floating point");<br>
cpass = piglit_probe_pixel_rgba(0, 0, expected) && cpass;<br>
glReadBuffer(GL_COLOR_ATTACHMENT1);<br>
printf("Probing buffer 1 (%s)\n", fixed1 ? "fixed point" : "floating point");<br>
<font color="#888888">--<br>
1.7.4.1<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</font></blockquote></div><br>