[Piglit] [PATCH 3/3] glsl-1.10/execution/maximums: Verify the limits in section 7.4.

Ian Romanick idr at freedesktop.org
Mon Oct 24 16:18:19 PDT 2011


On 10/24/2011 11:56 AM, Eric Anholt wrote:
> On Mon, 24 Oct 2011 09:32:32 -0700, Ian Romanick<idr at freedesktop.org>  wrote:
>> On 10/24/2011 09:29 AM, Ian Romanick wrote:
>>> On 10/23/2011 12:48 AM, Eric Anholt wrote:
>>>> new file mode 100644
>>>> index 0000000..d1da24f
>>>> --- /dev/null
>>>> +++
>>>> b/tests/spec/glsl-1.10/execution/maximums/gl_MaxFragmentUniformComponents.shader_test
>>>>
>>>> @@ -0,0 +1,28 @@
>>>> +# [description]
>>>> +# Tests for GLSL 1.10 minimum maximums for the builtin constants.
>>>> +#
>>>> +# See the GLSL 1.10.59 specification, section 7.4, page 44 (page 50
>>>> of the PDF).
>>>> +
>>>> +[require]
>>>> +GLSL>= 1.10
>>>> +
>>>> +[vertex shader]
>>>> +#version 110
>>>> +void main(void)
>>>> +{
>>>> + gl_Position = gl_Vertex;
>>>> +}
>>>> +
>>>> +[fragment shader]
>>>> +#version 110
>>>> +void main(void)
>>>> +{
>>>> + if (gl_MaxFragmentUniformComponents>= 512)
>>>
>>> In 1.10 this is only 64.
>>
>> It looks like it's 64 in 1.20 too.
>
> With these two fixed, is that r-b?

Yes.


More information about the Piglit mailing list