Lines Matching refs:glu
41 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources)
44 const glu::ShaderProgram program (ctx.getRenderContext(), sources);
71 glu::ShaderType getGLUShaderType (glw::GLenum glShaderType)
75 case GL_VERTEX_SHADER: return glu::SHADERTYPE_VERTEX;
76 case GL_FRAGMENT_SHADER: return glu::SHADERTYPE_FRAGMENT;
77 case GL_TESS_CONTROL_SHADER: return glu::SHADERTYPE_TESSELLATION_CONTROL;
78 case GL_TESS_EVALUATION_SHADER: return glu::SHADERTYPE_TESSELLATION_EVALUATION;
79 case GL_GEOMETRY_SHADER: return glu::SHADERTYPE_GEOMETRY;
80 case GL_COMPUTE_SHADER: return glu::SHADERTYPE_COMPUTE;
83 return glu::SHADERTYPE_LAST;
113 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
114 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES;
117 source << glu::getGLSLVersionDeclaration(version) << "\n"
159 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
160 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES;
163 source << glu::getGLSLVersionDeclaration(version) << "\n"
186 int genMaxSSBlocksSource (NegativeTestContext& ctx, glw::GLenum glShaderType, glu::ProgramSources& sources)
217 if (!ctx.isShaderSupported(static_cast<glu::ShaderType>(getGLUShaderType(glShaderTypes[ndx]))))
226 glu::ProgramSources sources;
237 sources << glu::VertexSource(source)
238 << glu::FragmentSource(fragSource);
242 sources << glu::VertexSource(vertSource)
243 << glu::FragmentSource(source);
247 sources << glu::VertexSource(vertSource)
248 << glu::FragmentSource(fragSource)
249 << glu::TessellationControlSource(source)
250 << glu::TessellationEvaluationSource(tessEvalSource);
254 sources << glu::VertexSource(vertSource)
255 << glu::FragmentSource(fragSource)
256 << glu::TessellationControlSource(tessControlSource)
257 << glu::TessellationEvaluationSource(source);
261 sources << glu::VertexSource(vertSource)
262 << glu::FragmentSource(fragSource)
263 << glu::GeometrySource(source);
267 sources << glu::ComputeSource(source);
284 glu::ProgramSources sources;
292 if ((ctx.isShaderSupported(glu::SHADERTYPE_TESSELLATION_CONTROL)) && (ctx.isShaderSupported(glu::SHADERTYPE_TESSELLATION_EVALUATION)))
298 if (ctx.isShaderSupported(glu::SHADERTYPE_GEOMETRY))