Lines Matching refs:pdec

221 	: sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration()
222 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
223 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
224 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
225 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
226 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
227 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
228 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
229 << sglr::pdec::GeometryShaderDeclaration(inputType, outputType, calcOutputVertices(inputType))
230 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType)))
324 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration()
325 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
326 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
327 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
328 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
329 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
330 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
331 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
332 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, outputType, emitCountA + emitCountB)
333 << sglr::pdec::GeometrySource(genGeometrySource(contextType, emitCountA, endCountA, emitCountB, endCountB, outputType)))
450 static sglr::pdec::ShaderProgramDeclaration genProgramDeclaration (const glu::ContextType& contextType, int vertexOut, int geometryOut);
619 sglr::pdec::ShaderProgramDeclaration VertexVaryingShader::genProgramDeclaration (const glu::ContextType& contextType, int vertexOut, int geometryOut)
621 sglr::pdec::ShaderProgramDeclaration decl;
627 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
628 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT);
631 decl << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT);
633 decl << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT);
636 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
637 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES, rr::GEOMETRYSHADEROUTPUTTYPE_TRIANGLE_STRIP, 3);
784 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType))
785 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType))
786 << sglr::pdec::GeometrySource(specializeShader(geometrySource.str(), contextType));
809 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
810 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
811 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
812 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
813 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
814 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
815 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
816 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
817 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, rr::GEOMETRYSHADEROUTPUTTYPE_TRIANGLE_STRIP, getPatternEmitCount(spec))
818 << sglr::pdec::GeometrySource(genGeometrySource(contextType, spec)))
944 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
945 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
946 << sglr::pdec::VertexAttribute(getTestAttributeName(test), rr::GENERICVECTYPE_FLOAT)
947 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
948 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
949 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
950 << sglr::pdec::VertexSource(genVertexSource(contextType, test))
951 << sglr::pdec::FragmentSource(genFragmentSource(contextType, test))
952 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
955 << sglr::pdec::GeometrySource(genGeometrySource(contextType, test)))
1240 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1241 << sglr::pdec::Uniform("u_sampler", glu::TYPE_SAMPLER_2D)
1242 << sglr::pdec::Uniform("u_emitCount", glu::TYPE_INT_VEC4)
1243 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1244 << sglr::pdec::VertexAttribute(getAttributeName(source), rr::GENERICVECTYPE_FLOAT)
1245 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
1246 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
1247 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1248 << sglr::pdec::VertexSource(genVertexSource(contextType, source))
1249 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
1250 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1254 << sglr::pdec::GeometrySource(genGeometrySource(contextType, source, maxEmitCount, instanced)))
1515 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1516 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1517 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT)
1518 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT)
1519 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT)
1520 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1521 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType))
1522 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType))
1523 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1527 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase)))
1698 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration()
1699 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT)
1700 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT)
1701 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT)
1702 << sglr::pdec::VertexSource(genVertexSource(contextType))
1703 << sglr::pdec::FragmentSource(genFragmentSource(contextType))
1704 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS,
1708 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations)))