Pushed, thanks.<br><br>Concerning radeon.tests, I don't think people use it, well at least not me.<br><br>Marek<br><br><div class="gmail_quote">On Mon, Sep 27, 2010 at 7:41 AM, Tom Stellard <span dir="ltr"><<a href="mailto:tstellar@gmail.com">tstellar@gmail.com</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;"><div><div></div><div class="h5">On Sat, Sep 25, 2010 at 10:39:51PM -0700, Tom Stellard wrote:<br>
> ---<br>
> tests/radeon.tests | 3 +++<br>
> tests/shaders/generic/fdo30337a.vpfp | 14 ++++++++++++++<br>
> tests/shaders/generic/fdo30337b.vpfp | 16 ++++++++++++++++<br>
> 3 files changed, 33 insertions(+), 0 deletions(-)<br>
> create mode 100644 tests/shaders/generic/fdo30337a.vpfp<br>
> create mode 100644 tests/shaders/generic/fdo30337b.vpfp<br>
><br>
> diff --git a/tests/radeon.tests b/tests/radeon.tests<br>
> index b1489d8..14378ab 100644<br>
> --- a/tests/radeon.tests<br>
> +++ b/tests/radeon.tests<br>
> @@ -16,3 +16,6 @@ from framework.gleantest import *<br>
> env = profile.tests['glean']['exactRGBA'].env<br>
> env['GLEAN_EXACTRGBA_ROUNDING'] = 1<br>
><br>
> +#These test the presubtract.<br>
> +add_vpfpgeneric('fdo30337a')<br>
> +add_vpfpgeneric('fdo30337b')<br>
> diff --git a/tests/shaders/generic/fdo30337a.vpfp b/tests/shaders/generic/fdo30337a.vpfp<br>
> new file mode 100644<br>
> index 0000000..f77a302<br>
> --- /dev/null<br>
> +++ b/tests/shaders/generic/fdo30337a.vpfp<br>
> @@ -0,0 +1,14 @@<br>
> +!!ARBvp1.0<br>
> +OPTION ARB_position_invariant;<br>
> +END<br>
> +<br>
> +!!ARBfp1.0<br>
> +TEMP color;<br>
> +MOV color, {0.1, 0.4, 0.8, 1.0};<br>
> +ADD color.x, color.x, color.x;<br>
> +ADD color.y, color.x, color.y;<br>
> +MOV result.color, color;<br>
> +END<br>
> +<br>
> +!!test<br>
> +expected 0.2 0.6 0.8 1.0<br>
> diff --git a/tests/shaders/generic/fdo30337b.vpfp b/tests/shaders/generic/fdo30337b.vpfp<br>
> new file mode 100644<br>
> index 0000000..22d1cd3<br>
> --- /dev/null<br>
> +++ b/tests/shaders/generic/fdo30337b.vpfp<br>
> @@ -0,0 +1,16 @@<br>
> +!!ARBvp1.0<br>
> +OPTION ARB_position_invariant;<br>
> +END<br>
> +<br>
> +!!ARBfp1.0<br>
> +TEMP color;<br>
> +MOV color, {0.1, 0.4, 0.8, 1.0};<br>
> +SUB color.x, color.x, color.x;<br>
> +ADD color.y, color.x, color.y;<br>
> +SUB color.z, color.x, color.x;<br>
> +DP3 color.w, color, color;<br>
> +MOV result.color, color;<br>
> +END<br>
> +<br>
> +!!test<br>
> +expected 0.0 0.4 0.0 0.16<br>
> --<br>
> 1.7.2.2<br>
><br>
<br>
</div></div>Attached is a patch that adds these tests to all.tests instead of<br>
radeon.tests and also adds some comments to them.<br>
<font color="#888888"><br>
-Tom<br>
</font><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>
<br></blockquote></div><br>