Call glValidateProgram() before querying GL_VALIDATE_STATUS
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