Home | History | Annotate | Download | only in functional

Lines Matching refs:pdec

249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes)
251 sglr::pdec::ShaderProgramDeclaration decl;
253 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT);
254 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT);
255 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
256 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT);
265 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]);
266 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT4);
267 decl << sglr::pdec::Uniform(scaleName, glu::TYPE_FLOAT_VEC4);
268 decl << sglr::pdec::Uniform(biasName, glu::TYPE_FLOAT_VEC4);
271 decl << sglr::pdec::VertexSource("#version 300 es\n"
281 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes));