[Piglit] [PATCH] Add a test to reproduce an exact/inexact built-in matching bug in Mesa.
Kenneth Graunke
kenneth at whitecape.org
Fri Nov 11 12:06:41 PST 2011
On 11/11/2011 08:45 AM, Eric Anholt wrote:
> 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?
Heh...oops. Yeah, the test only works with #version 130. I actually
fixed that locally, but forgot the "-a" on --commit --amend. :)
More information about the Piglit
mailing list