The DSA program_pipelines_functional test queries this param
without calling glValidateProgram() first, which is not
correct:
From section 7.13. SHADER, PROGRAM, AND PROGRAM PIPELINE QUERIES:
"If pname is VALIDATE_STATUS, TRUE is returned if the last
call to ValidateProgram (see section 11.1.3.11) with
program was successful, and FALSE is returned otherwise."
Components: OpenGL
VK-GL-CTS issue: 498
Affects:
KHR-GL45.direct_state_access.program_pipelines_functional
Change-Id: I4de325f0779c3330523b1fac1845d287b790ee3a
glw::GLint status = GL_TRUE;
+ gl.validateProgram(m_spo_v);
+ GLU_EXPECT_NO_ERROR(gl.getError(), "glValidateProgram call failed.");
+
gl.getProgramiv(m_spo_v, GL_VALIDATE_STATUS, &status);
GLU_EXPECT_NO_ERROR(gl.getError(), "glGetProgramiv call failed.");
status = GL_TRUE;
+ gl.validateProgram(m_spo_f);
+ GLU_EXPECT_NO_ERROR(gl.getError(), "glValidateProgram call failed.");
+
gl.getProgramiv(m_spo_f, GL_VALIDATE_STATUS, &status);
GLU_EXPECT_NO_ERROR(gl.getError(), "glGetProgramiv call failed.");