Lines Matching refs:glu
36 // glu
465 static std::string GetDef2DVtxSrc(glu::GLSLVersion glslVersion)
469 DE_ASSERT(glslVersion == glu::GLSL_VERSION_310_ES || glslVersion >= glu::GLSL_VERSION_430);
471 str << glu::getGLSLVersionDeclaration(glslVersion) << "\n"
575 CoherentBlendTestCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion)
594 CoherentBlendTest(deqp::Context& context, const char* name, glu::GLSLVersion glslVersion, int repeatCount,
608 glu::GLSLVersion m_glslVersion;
624 glu::GLSLVersion m_glslVersion;
673 std::string frgSrc = GetSolidShader("blend_support_all_equations", glu::getGLSLVersionDeclaration(m_glslVersion));
674 glu::ShaderProgram p(m_context.getRenderContext(),
675 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str()));
684 glu::VertexArrayBinding posBinding = glu::va::Float("aPos", 2, 4, 0, &s_pos[0]);
717 glu::draw(m_context.getRenderContext(), p.getProgram(), 1, &posBinding,
718 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(s_indices), &s_indices[0]));
764 BlendTestCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion, QualifierType qualifierType)
784 glu::GLSLVersion m_glslVersion;
790 BlendTest(deqp::Context& context, glu::GLSLVersion glslVersion, glw::GLenum mode, bool useAllQualifier,
811 glu::GLSLVersion m_glslVersion;
1001 glu::getGLSLVersionDeclaration(m_glslVersion));
1002 glu::ShaderProgram p(m_context.getRenderContext(),
1003 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str()));
1012 glu::VertexArrayBinding posBinding = glu::va::Float("aPos", 2, 4, 0, &s_pos[0]);
1045 glu::draw(m_context.getRenderContext(), p.getProgram(), 1, &posBinding,
1046 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(s_indices), &s_indices[0]));
1110 ExtensionDirectiveTestCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion)
1126 ExtensionDirectiveTestCase(deqp::Context& context, glu::GLSLVersion glslVersion, const char* behaviour)
1175 std::string frgSrc = GetSolidShader("blend_support_multiply", glu::getGLSLVersionDeclaration(m_glslVersion),
1177 glu::ShaderProgram p(m_context.getRenderContext(),
1178 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str()));
1181 m_requireInfoLog ? p.getShaderInfo(glu::SHADERTYPE_FRAGMENT).infoLog.size() > 0 : true;
1219 glu::VertexArrayBinding posBinding = glu::va::Float("aPos", 2, 4, 0, &s_pos[0]);
1222 glu::draw(m_context.getRenderContext(), p.getProgram(), 1, &posBinding,
1223 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(s_indices), &s_indices[0]));
1237 glu::GLSLVersion m_glslVersion;
1243 glu::GLSLVersion m_glslVersion;
1263 MissingQualifierTestGroup(deqp::Context& context, glu::GLSLVersion glslVersion, MissingType missingType)
1286 MissingCase(deqp::Context& context, glu::GLSLVersion glslVersion, glw::GLenum mode, const char* layoutQualifier)
1297 glu::GLSLVersion m_glslVersion;
1302 glu::GLSLVersion m_glslVersion;
1329 glu::ShaderProgram p(m_context.getRenderContext(),
1330 glu::makeVtxFragSources(
1332 GetSolidShader(m_layoutQualifier, glu::getGLSLVersionDeclaration(m_glslVersion)).c_str()));
1352 glu::VertexArrayBinding posBinding = glu::va::Float("aPos", 2, 4, 0, &s_pos[0]);
1355 glu::draw(m_context.getRenderContext(), p.getProgram(), 1, &posBinding,
1356 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(s_indices), &s_indices[0]));
1449 MRTCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion)
1470 MRTCase(deqp::Context& context, glu::GLSLVersion glslVersion, DeclarationType declType)
1481 glu::GLSLVersion m_glslVersion;
1485 glu::GLSLVersion m_glslVersion;
1531 args["VERSION_DIRECTIVE"] = glu::getGLSLVersionDeclaration(m_glslVersion);
1544 glu::ShaderProgram p(m_context.getRenderContext(),
1545 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str()));
1695 PreprocessorCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion)
1713 PreprocessorCase(deqp::Context& context, glu::GLSLVersion glslVersion, const char* behaviour)
1723 glu::GLSLVersion m_glslVersion;
1727 glu::GLSLVersion m_glslVersion;
1771 args["VERSION_DIRECTIVE"] = glu::getGLSLVersionDeclaration(m_glslVersion);
1778 glu::ShaderProgram p(m_context.getRenderContext(),
1779 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str()));
1793 glu::VertexArrayBinding posBinding = glu::va::Float("aPos", 2, 4, 0, &s_pos[0]);
1794 glu::draw(m_context.getRenderContext(), p.getProgram(), 1, &posBinding,
1795 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(s_indices), &s_indices[0]));
1800 glu::readPixels(m_context.getRenderContext(), 0, 0, resultSurface.getAccess());
1809 BlendEquationAdvancedTests::BlendEquationAdvancedTests(deqp::Context& context, glu::GLSLVersion glslVersion)