Lines Matching refs:glu
46 static inline std::string brokenShaderSource (const glu::ContextType &contextType)
48 const std::string glslVersionDecl = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType));
101 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) ||
102 glu::contextSupports(ctxType, glu::ApiType::core(4, 5));
111 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()),
112 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString());
118 shaderArgs["VERSIONDECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(ctxType));
123 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource));
125 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::EndMessage;
367 ShaderLogCase (Context& ctx, const char* name, const char* desc, glu::ShaderType shaderType);
373 const glu::ShaderType m_shaderType;
376 ShaderLogCase::ShaderLogCase (Context& ctx, const char* name, const char* desc, glu::ShaderType shaderType)
385 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) ||
386 glu::contextSupports(ctxType, glu::ApiType::core(4, 5));
390 case glu::SHADERTYPE_VERTEX:
391 case glu::SHADERTYPE_FRAGMENT:
392 case glu::SHADERTYPE_COMPUTE:
395 case glu::SHADERTYPE_GEOMETRY:
400 case glu::SHADERTYPE_TESSELLATION_CONTROL:
401 case glu::SHADERTYPE_TESSELLATION_EVALUATION:
417 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
427 shader = gl.glCreateShader(glu::getGLShaderType(m_shaderType));
438 verifyInfoLogQuery(result, gl, logLen, shader, &glu::CallLogWrapper::glGetShaderInfoLog, "glGetShaderInfoLog");
474 glu::ShaderType caseType;
477 { "info_log_vertex", glu::SHADERTYPE_VERTEX },
478 { "info_log_fragment", glu::SHADERTYPE_FRAGMENT },
479 { "info_log_geometry", glu::SHADERTYPE_GEOMETRY },
480 { "info_log_tess_ctrl", glu::SHADERTYPE_TESSELLATION_CONTROL },
481 { "info_log_tess_eval", glu::SHADERTYPE_TESSELLATION_EVALUATION },
482 { "info_log_compute", glu::SHADERTYPE_COMPUTE },