[Piglit] [PATCH] gl-3.0: add a test to stress the bound resource limits

Matthew McClure mcclurem at vmware.com
Tue Jul 8 16:15:16 PDT 2014


I will try to reproduce locally with a later build of their drivers. However, I believe this is NVIDIA's bug. If they report that they can support 124 varying floats (the Variable array), they should not have this issue. The 304.116 drivers did not show this issue on a GeForce GTX 650.

Would it be possible to set the DEBUG_SHADERS define to 1, just to make sure the shader is sane? I forced several combinations of varying values and image units, post glGetInteger and the shaders constructed fine.

Matthew

----- Original Message -----
From: "Brian Paul" <brianp at vmware.com>
To: "Matthew McClure" <mcclurem at vmware.com>, piglit at lists.freedesktop.org
Sent: Tuesday, July 8, 2014 4:09:18 PM
Subject: Re: [Piglit] [PATCH] gl-3.0: add a test to stress the bound resource limits

On 07/08/2014 04:49 PM, Matthew McClure wrote:
> Update to reflect feedback from Brian Paul. The update includes documentation for each function and removal of the "flat" qualifier, since this version of the test is using GLSL 1.30.
>
> Verified on:
>
> Ubuntu 12.04.3
> OpenGL vendor string: NVIDIA Corporation
> OpenGL renderer string: GeForce GTX 650/PCIe/SSE2
> OpenGL version string: 4.2.0 NVIDIA 304.116
> OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
>

Still seeing a failure here w/ nvidia:

$ bin/gl-3.0-bound-resource-limits -auto
GL_MAX_VARYING_FLOATS: 124
GL_MAX_VERTEX_ATTRIBS: 16
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: 32
GL_MAX_TEXTURE_IMAGE_UNITS: 32
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: 192
GL_AUX_BUFFERS: 4
GL_MAX_DRAW_BUFFERS: 8
GL_MAX_COLOR_ATTACHMENTS: 8
Failed to link: Fragment info
-------------
0(8) : warning C7533: global variable gl_FragData is deprecated after 
version 120
0(2) : error C5041: cannot locate suitable resource to bind variable 
"Variable". Possibly large array.

PIGLIT: {"result": "fail" }


-Brian


More information about the Piglit mailing list