[Piglit] [PATCH] sso: bind pipeline object in ValidateProgramPipeline

Tapani Pälli tapani.palli at intel.com
Mon Sep 14 02:23:40 PDT 2015


When fixing some ES 3.1 conformance issues I noticed several subtests
started to fail. Pipeline has to be bound before validation, this makes
failing subtests to pass with planned Mesa changes.

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
index a2741aa..d129517 100644
--- a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
+++ b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
@@ -323,6 +323,7 @@ piglit_init(int argc, char **argv)
 
 	/* Create the pipeline */
 	glGenProgramPipelines(1, &pipe);
+	glBindProgramPipeline(pipe);
 
 	build_and_validate_pipe(pipe, true, 
 				"VS/FS program, single glUseProgramStages "
-- 
2.4.3



More information about the Piglit mailing list