Lines Matching refs:shader

116  * \brief Vertex shader invariance test
118 * Test vertex shader invariance by drawing a test pattern two times, each
119 * time with a different shader. Shaders have set identical values to
186 throw tcu::TestError("Test shader compile failed.");
193 throw tcu::TestError("Test shader compile failed.");
275 const glu::ShaderProgram& shader = (passNdx == 0) ? (*m_shader0) : (*m_shader1);
276 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input");
277 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color");
283 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing position test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << "." << tcu::TestLog::EndMessage;
285 gl.useProgram (shader.getProgram());
317 const glu::ShaderProgram& shader = (passNdx == 0) ? (*m_shader0) : (*m_shader1);
318 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input");
319 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color");
327 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing Z-test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << ". DepthFunc: " << depthFuncStr << tcu::TestLog::EndMessage;
329 gl.useProgram (shader.getProgram());
517 // First shader shares "${HIGH_VALUE}*a_input.x*a_input.xxxx + ${HIGH_VALUE}*a_input.y*a_input.yyyy" with unrelated output variable. Reordering might result in accuracy loss
518 // due to the high exponent. In the second shader, the high exponent may be removed during compilation.
540 // In the first shader, the unrelated variable "d" has mathematically the same expression as "e", but the different