[Piglit] [PATCH] Add a test to reproduce an exact/inexact built-in matching bug in Mesa.

Eric Anholt eric at anholt.net
Fri Nov 11 08:45:40 PST 2011


On Fri, 11 Nov 2011 02:57:19 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  .../glsl2/builtin-overload-matching.frag           |   34 ++++++++++++++++++++
>  1 files changed, 34 insertions(+), 0 deletions(-)
>  create mode 100644 tests/glslparsertest/glsl2/builtin-overload-matching.frag
> 
> diff --git a/tests/glslparsertest/glsl2/builtin-overload-matching.frag b/tests/glslparsertest/glsl2/builtin-overload-matching.frag
> new file mode 100644
> index 0000000..3526007
> --- /dev/null
> +++ b/tests/glslparsertest/glsl2/builtin-overload-matching.frag
> @@ -0,0 +1,34 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.10
> +// [end config]

The Mesa commit said you needed 1.30's integer builtins to trigger the
bug.  Typo here?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111111/b4008b1e/attachment.pgp>


More information about the Piglit mailing list