From: "Felipe F. Tonello" <[email protected]> glFenceSync is only supported if the GL version is 3.2 or greater, or if the ARB_sync extension is supported.
Signed-off-by: Felipe F. Tonello <[email protected]> --- tests/spec/khr_debug/debug-object-label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/khr_debug/debug-object-label.c b/tests/spec/khr_debug/debug-object-label.c index 70c2eba..7a5057f 100644 --- a/tests/spec/khr_debug/debug-object-label.c +++ b/tests/spec/khr_debug/debug-object-label.c @@ -466,7 +466,7 @@ void piglit_init(int argc, char **argv) pass = test_object_label_types() && pass; pass = test_object_label() && pass; pass = test_get_object_label() && pass; - if (piglit_is_extension_supported("GL_ARB_sync")) + if (piglit_get_gl_version() >= 32 || piglit_is_extension_supported("GL_ARB_sync")) pass = test_object_ptr_label() && pass; piglit_report_result(pass ? PIGLIT_PASS : PIGLIT_FAIL); -- 1.8.5.3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
