Home | History | Annotate | Download | only in functional

Lines Matching refs:decl

275 	sglr::pdec::ShaderProgramDeclaration decl;
277 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT);
278 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT);
279 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
280 decl << sglr::pdec::FragmentOutput(mapDataTypeToGenericVecType(outputType));
282 decl << sglr::pdec::VertexSource(
292 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType));
294 decl << sglr::pdec::Uniform("u_outScale0", glu::TYPE_FLOAT_VEC4);
295 decl << sglr::pdec::Uniform("u_outBias0", glu::TYPE_FLOAT_VEC4);
299 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]);
300 decl << sglr::pdec::Uniform(std::string("u_texScale") + de::toString(ndx), glu::TYPE_FLOAT_VEC4);
301 decl << sglr::pdec::Uniform(std::string("u_texBias") + de::toString(ndx), glu::TYPE_FLOAT_VEC4);
304 return decl;