[Piglit] [PATCH 3/3] glsl-1.10/execution/maximums: Verify the limits in section 7.4.
Eric Anholt
eric at anholt.net
Mon Oct 24 11:56:31 PDT 2011
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?
-------------- 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/20111024/3dca79a5/attachment.pgp>
More information about the Piglit
mailing list