[Piglit] [PATCH] shader_runner: check for no GLSL program in setup_ubos()

Eric Anholt eric at anholt.net
Thu Nov 21 09:45:21 PST 2013


Brian Paul <brianp at vmware.com> writes:

> If we're running an ARB_vertex/fragment_program test, there will be
> no GLSL shader program and 'prog' will be zero.  Return early to avoid
> generating an error from the GL_ACTIVE_UNIFORM_BLOCKS query.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131121/523b4423/attachment.pgp>


More information about the Piglit mailing list