Lines Matching refs:pdec
172 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const GLenum* unitTypes)
174 sglr::pdec::ShaderProgramDeclaration decl;
176 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT);
177 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT);
178 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
179 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT);
186 decl << sglr::pdec::Uniform(samplerName, (unitTypes[ndx] == GL_TEXTURE_2D) ? (glu::TYPE_SAMPLER_2D) : (glu::TYPE_SAMPLER_CUBE));
187 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT3);
190 decl << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
199 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes));