Home | History | Annotate | Download | only in functional

Lines Matching full:pdec

173 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const GLenum* unitTypes)
175 sglr::pdec::ShaderProgramDeclaration decl;
177 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT);
178 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT);
179 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
180 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT);
187 decl << sglr::pdec::Uniform(samplerName, (unitTypes[ndx] == GL_TEXTURE_2D) ? (glu::TYPE_SAMPLER_2D) : (glu::TYPE_SAMPLER_CUBE));
188 decl << sglr::pdec::Uniform(transformationName, glu::TYPE_FLOAT_MAT3);
191 decl << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes));