Home | History | Annotate | Download | only in functional

Lines Matching refs:pdec

212 	: sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration()
213 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
214 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
215 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
216 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
217 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
218 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
219 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
220 << sglr::pdec::GeometryShaderDeclaration(inputType, outputType, calcOutputVertices(inputType))
221 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType).c_str()))
315 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration()
316 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
317 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
318 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
319 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
320 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
321 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
322 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
323 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, outputType, emitCountA + emitCountB)
324 << sglr::pdec::GeometrySource(genGeometrySource(contextType, emitCountA, endCountA, emitCountB, endCountB, outputType).c_str()))
441 static sglr::pdec::ShaderProgramDeclaration genProgramDeclaration (const glu::ContextType& contextType, int vertexOut, int geometryOut);
610 sglr::pdec::ShaderProgramDeclaration VertexVaryingShader::genProgramDeclaration (const glu::ContextType& contextType, int vertexOut, int geometryOut)
612 sglr::pdec::ShaderProgramDeclaration decl;
618 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
619 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT);
622 decl << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT);
624 decl << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
627 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
628 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES, rr::GEOMETRYSHADEROUTPUTTYPE_TRIANGLE_STRIP, 3);
775 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType).c_str())
776 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType).c_str())
777 << sglr::pdec::GeometrySource(specializeShader(geometrySource.str(), contextType).c_str());
800 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
801 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
802 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
803 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
804 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
805 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
806 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
807 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
808 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, rr::GEOMETRYSHADEROUTPUTTYPE_TRIANGLE_STRIP, getPatternEmitCount(spec))
809 << sglr::pdec::GeometrySource(genGeometrySource(contextType, spec).c_str()))
935 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
936 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
937 << sglr::pdec::VertexAttribute(getTestAttributeName(test), rr::GENERICVECTYPE_FLOAT)
938 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
939 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
940 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
941 << sglr::pdec::VertexSource(genVertexSource(contextType, test))
942 << sglr::pdec::FragmentSource(genFragmentSource(contextType, test))
943 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
946 << sglr::pdec::GeometrySource(genGeometrySource(contextType, test).c_str()))
1228 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1229 << sglr::pdec::Uniform("u_sampler", glu::TYPE_SAMPLER_2D)
1230 << sglr::pdec::Uniform("u_emitCount", glu::TYPE_INT_VEC4)
1231 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1232 << sglr::pdec::VertexAttribute(getAttributeName(source), rr::GENERICVECTYPE_FLOAT)
1233 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
1234 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
1235 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1236 << sglr::pdec::VertexSource(genVertexSource(contextType, source))
1237 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
1238 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1242 << sglr::pdec::GeometrySource(genGeometrySource(contextType, source, maxEmitCount, instanced).c_str()))
1503 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1504 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1505 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
1506 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
1507 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
1508 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1509 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
1510 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
1511 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1515 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase).c_str()))
1686 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1687 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1688 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT)
1689 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1690 << sglr::pdec::VertexSource(genVertexSource(contextType))
1691 << sglr::pdec::FragmentSource(genFragmentSource(contextType))
1692 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1696 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations).c_str()))