From e268f0b8bf774d6eff28fcc63d22b6f6055333f4 Mon Sep 17 00:00:00 2001 From: Gustaw Smolarczyk Date: Tue, 24 Jan 2017 20:49:05 +0100 Subject: [PATCH] Fix GL45-CTS.pipeline_statistics_query_tests_ARB.functional_default_qo_values m_current_draw_call_type and m_current_primitive_type should not be processed in PipelineStatisticsQueryTestFunctional1. Otherwise we have reads from an uninitialized fields. --- external/openglcts/modules/gl/gl4cPipelineStatisticsQueryTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/openglcts/modules/gl/gl4cPipelineStatisticsQueryTests.cpp b/external/openglcts/modules/gl/gl4cPipelineStatisticsQueryTests.cpp index 77cb281..5831dcc 100644 --- a/external/openglcts/modules/gl/gl4cPipelineStatisticsQueryTests.cpp +++ b/external/openglcts/modules/gl/gl4cPipelineStatisticsQueryTests.cpp @@ -2426,7 +2426,7 @@ bool PipelineStatisticsQueryTestFunctional1::executeTest(glw::GLenum current_que result &= PipelineStatisticsQueryUtilities::verifyResultValues( run_result, 1, &expected_value, m_qo_id != 0, /* should_check_qo_bo_values */ - current_query_target, &m_current_draw_call_type, &m_current_primitive_type, + current_query_target, DE_NULL, DE_NULL, false, /* is_primitive_restart_enabled */ m_testCtx, PipelineStatisticsQueryUtilities::VERIFICATION_TYPE_EXACT_MATCH); } /* if (run results were obtained successfully) */ -- 2.7.4