[Piglit] [PATCH] GS: Modify an older test to also check MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS with GL version 3.2
Chad Versace
chad.versace at linux.intel.com
Tue Sep 10 17:13:37 PDT 2013
On 09/09/2013 05:09 PM, Nicholas Mack wrote:
> ---
> tests/spec/arb_uniform_buffer_object/minmax.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/spec/arb_uniform_buffer_object/minmax.c b/tests/spec/arb_uniform_buffer_object/minmax.c
> index ade70dc..62e029e 100644
> --- a/tests/spec/arb_uniform_buffer_object/minmax.c
> +++ b/tests/spec/arb_uniform_buffer_object/minmax.c
> @@ -53,7 +53,7 @@ piglit_init(int argc, char **argv)
> int guniforms = 0, gblocks = 0;
> int funiforms = 0, fblocks = 0;
> int blocksize = 0;
> - bool gs = piglit_is_extension_supported("GL_ARB_geometry_shader4");
> + bool gs = (piglit_get_gl_version() >= 32) || piglit_is_extension_supported("GL_ARB_geometry_shader4");
>
> piglit_require_extension("GL_ARB_uniform_buffer_object");
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the Piglit
mailing list