Lines Matching refs:sglr
249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const v… in generateShaderProgramDeclaration()
251 sglr::pdec::ShaderProgramDeclaration decl; in generateShaderProgramDeclaration()
253 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration()
254 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration()
255 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration()
256 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in generateShaderProgramDeclaration()
265 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]); in generateShaderProgramDeclaration()
266 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT4); in generateShaderProgramDeclaration()
267 decl << sglr::pdec::Uniform(scaleName, glu::TYPE_FLOAT_VEC4); in generateShaderProgramDeclaration()
268 decl << sglr::pdec::Uniform(biasName, glu::TYPE_FLOAT_VEC4); in generateShaderProgramDeclaration()
271 decl << sglr::pdec::VertexSource("#version 300 es\n" in generateShaderProgramDeclaration()
281 …decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerType… in generateShaderProgramDeclaration()
331 class MultiTexShader : public sglr::ShaderProgram
342 void setUniforms (sglr::Context& context, deUint32 program) const;
364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader()
544 void MultiTexShader::setUniforms (sglr::Context& ctx, deUint32 program) const in setUniforms()
719 void upload2dTexture (int texNdx, sglr::Context& context);
720 void uploadCubeTexture (int texNdx, sglr::Context& context);
721 void upload2dArrayTexture (int texNdx, sglr::Context& context);
722 void upload3dTexture (int texNdx, sglr::Context& context);
724 void render (sglr::Context& context);
1029 …sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tc… in iterate()
1038 …sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaB… in iterate()
1039 …sglr::ReferenceContext context (sglr::ReferenceContextLimits(renderCtx), buffers.getColorbuffer(… in iterate()
1057 void TextureUnitCase::upload2dTexture (int texNdx, sglr::Context& context) in upload2dTexture()
1081 void TextureUnitCase::uploadCubeTexture (int texNdx, sglr::Context& context) in uploadCubeTexture()
1108 void TextureUnitCase::upload2dArrayTexture (int texNdx, sglr::Context& context) in upload2dArrayTexture()
1134 void TextureUnitCase::upload3dTexture (int texNdx, sglr::Context& context) in upload3dTexture()
1160 void TextureUnitCase::render (sglr::Context& context) in render()
1218 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()