Home | History | Annotate | Download | only in functional

Lines Matching refs:pdec

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