• Home
  • Raw
  • Download

Lines Matching refs:sglr

206 class VertexExpanderShader : public sglr::ShaderProgram
221 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in VertexExpanderShader()
222 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader()
223 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader()
224 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader()
225 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader()
226 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in VertexExpanderShader()
227 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader()
228 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader()
229 … << sglr::pdec::GeometryShaderDeclaration(inputType, outputType, calcOutputVertices(inputType)) in VertexExpanderShader()
230 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType))) in VertexExpanderShader()
305 class VertexEmitterShader : public sglr::ShaderProgram
324 : sglr::ShaderProgram(sglr::pdec::ShaderProgramDeclaration() in VertexEmitterShader()
325 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in VertexEmitterShader()
326 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in VertexEmitterShader()
327 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in VertexEmitterShader()
328 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in VertexEmitterShader()
329 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in VertexEmitterShader()
330 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexEmitterShader()
331 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexEmitterShader()
332 …<< sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, outputType, emitCount… in VertexEmitterShader()
333 …<< sglr::pdec::GeometrySource(genGeometrySource(contextType, emitCountA, endCountA, emitCountB, en… in VertexEmitterShader()
440 class VertexVaryingShader : public sglr::ShaderProgram
450 …static sglr::pdec::ShaderProgramDeclaration genProgramDeclaration (const glu::ContextType& context…
457 : sglr::ShaderProgram (genProgramDeclaration(contextType, vertexOut, geometryOut)) in VertexVaryingShader()
619 sglr::pdec::ShaderProgramDeclaration VertexVaryingShader::genProgramDeclaration (const glu::Context… in genProgramDeclaration()
621 sglr::pdec::ShaderProgramDeclaration decl; in genProgramDeclaration()
627 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in genProgramDeclaration()
628 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT); in genProgramDeclaration()
631 decl << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT); in genProgramDeclaration()
633 decl << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in genProgramDeclaration()
636 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in genProgramDeclaration()
637 …<< sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES, rr::GEOMETRYSHADER… in genProgramDeclaration()
784 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType)) in genProgramDeclaration()
785 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType)) in genProgramDeclaration()
786 << sglr::pdec::GeometrySource(specializeShader(geometrySource.str(), contextType)); in genProgramDeclaration()
790 class OutputCountShader : public sglr::ShaderProgram
809 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration() in OutputCountShader()
810 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in OutputCountShader()
811 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in OutputCountShader()
812 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in OutputCountShader()
813 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in OutputCountShader()
814 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in OutputCountShader()
815 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in OutputCountShader()
816 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in OutputCountShader()
817 …<< sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, rr::GEOMETRYSHADEROUT… in OutputCountShader()
818 << sglr::pdec::GeometrySource(genGeometrySource(contextType, spec))) in OutputCountShader()
915 class BuiltinVariableShader : public sglr::ShaderProgram
944 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration() in BuiltinVariableShader()
945 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in BuiltinVariableShader()
946 << sglr::pdec::VertexAttribute(getTestAttributeName(test), rr::GENERICVECTYPE_FLOAT) in BuiltinVariableShader()
947 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in BuiltinVariableShader()
948 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in BuiltinVariableShader()
949 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in BuiltinVariableShader()
950 << sglr::pdec::VertexSource(genVertexSource(contextType, test)) in BuiltinVariableShader()
951 << sglr::pdec::FragmentSource(genFragmentSource(contextType, test)) in BuiltinVariableShader()
952 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, in BuiltinVariableShader()
955 << sglr::pdec::GeometrySource(genGeometrySource(contextType, test))) in BuiltinVariableShader()
1200 class VaryingOutputCountShader : public sglr::ShaderProgram
1233 const sglr::UniformSlot& m_sampler;
1234 const sglr::UniformSlot& m_emitCount;
1240 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration() in VaryingOutputCountShader()
1241 << sglr::pdec::Uniform("u_sampler", glu::TYPE_SAMPLER_2D) in VaryingOutputCountShader()
1242 << sglr::pdec::Uniform("u_emitCount", glu::TYPE_INT_VEC4) in VaryingOutputCountShader()
1243 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in VaryingOutputCountShader()
1244 << sglr::pdec::VertexAttribute(getAttributeName(source), rr::GENERICVECTYPE_FLOAT) in VaryingOutputCountShader()
1245 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in VaryingOutputCountShader()
1246 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in VaryingOutputCountShader()
1247 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in VaryingOutputCountShader()
1248 << sglr::pdec::VertexSource(genVertexSource(contextType, source)) in VaryingOutputCountShader()
1249 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VaryingOutputCountShader()
1250 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, in VaryingOutputCountShader()
1254 … << sglr::pdec::GeometrySource(genGeometrySource(contextType, source, maxEmitCount, instanced))) in VaryingOutputCountShader()
1489 class InvocationCountShader : public sglr::ShaderProgram
1515 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration() in InvocationCountShader()
1516 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in InvocationCountShader()
1517 << sglr::pdec::VertexAttribute("a_color", rr::GENERICVECTYPE_FLOAT) in InvocationCountShader()
1518 << sglr::pdec::VertexToGeometryVarying(rr::GENERICVECTYPE_FLOAT) in InvocationCountShader()
1519 << sglr::pdec::GeometryToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in InvocationCountShader()
1520 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in InvocationCountShader()
1521 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in InvocationCountShader()
1522 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in InvocationCountShader()
1523 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, in InvocationCountShader()
1527 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase))) in InvocationCountShader()
1680 class InstancedExpansionShader : public sglr::ShaderProgram
1698 : sglr::ShaderProgram (sglr::pdec::ShaderProgramDeclaration() in InstancedExpansionShader()
1699 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in InstancedExpansionShader()
1700 << sglr::pdec::VertexAttribute("a_offset", rr::GENERICVECTYPE_FLOAT) in InstancedExpansionShader()
1701 << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT) in InstancedExpansionShader()
1702 << sglr::pdec::VertexSource(genVertexSource(contextType)) in InstancedExpansionShader()
1703 << sglr::pdec::FragmentSource(genFragmentSource(contextType)) in InstancedExpansionShader()
1704 << sglr::pdec::GeometryShaderDeclaration(rr::GEOMETRYSHADERINPUTTYPE_POINTS, in InstancedExpansionShader()
1708 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations))) in InstancedExpansionShader()
1823 virtual sglr::ShaderProgram& getProgram (void) = 0;
1827 …void renderWithContext (sglr::Context& ctx, sglr::ShaderProgram& program, tcu::Surface& ds…
1828 virtual void preRender (sglr::Context& ctx, GLuint programID);
1829 virtual void postRender (sglr::Context& ctx, GLuint programID);
1846 sglr::ReferenceContextBuffers* m_refBuffers;
1847 sglr::ReferenceContext* m_refContext;
1848 sglr::Context* m_glContext;
1891 sglr::ReferenceContextLimits limits; in init()
1896 …m_refBuffers = new sglr::ReferenceContextBuffers(m_context.getRenderTarget().getPixelFormat(), m_c… in init()
1897 …m_refContext = new sglr::ReferenceContext(limits, m_refBuffers->getColorbuffer(), m_refBuffers->ge… in init()
1898 …m_glContext = new sglr::GLContext(m_context.getRenderContext(), m_testCtx.getLog(), sglr::GLCONTE… in init()
1944 sglr::ShaderProgram& program = getProgram(); in iterate()
2060 void GeometryShaderRenderTest::renderWithContext (sglr::Context& ctx, sglr::ShaderProgram& program,… in renderWithContext()
2163 void GeometryShaderRenderTest::preRender (sglr::Context& ctx, GLuint programID) in preRender()
2169 void GeometryShaderRenderTest::postRender (sglr::Context& ctx, GLuint programID) in postRender()
2181 sglr::ShaderProgram& getProgram (void);
2201 …r(m_context.getRenderContext().getType(), sglr::rr_util::mapGLGeometryShaderInputType(m_inputPrimi… in init()
2217 sglr::ShaderProgram& GeometryExpanderRenderTest::getProgram (void) in getProgram()
2227 sglr::ShaderProgram& getProgram (void);
2254 …ontext().getType(), m_emitCountA, m_endCountA, m_emitCountB, m_endCountB, sglr::rr_util::mapGLGeom… in init()
2270 sglr::ShaderProgram& EmitTest::getProgram (void) in getProgram()
2291 sglr::ShaderProgram& getProgram (void);
2328 sglr::ShaderProgram& VaryingTest::getProgram (void) in getProgram()
2383 sglr::Context* m_ctx;
2408 …m_ctx = new sglr::GLContext(m_context.getRenderContext(), m_testCtx.getLog(), sglr::GLCONTEXT_LOG… in init()
2409 …m_program = new VertexExpanderShader(m_context.getRenderContext().getType() , sglr::rr_util::mapGL… in init()
2481 sglr::ShaderProgram& getProgram (void);
2564 sglr::ShaderProgram& OutputCountCase::getProgram (void) in getProgram()
2592 sglr::ShaderProgram& getProgram (void);
2651 sglr::ShaderProgram& BuiltinVariableRenderTest::getProgram (void) in getProgram()
3756 void preRender (sglr::Context& ctx, GLuint programID);
3758 sglr::ShaderProgram& getProgram (void);
3855 void VaryingOutputCountCase::preRender (sglr::Context& ctx, GLuint programID) in preRender()
3892 sglr::ShaderProgram& VaryingOutputCountCase::getProgram (void) in getProgram()
4365 sglr::ShaderProgram& getProgram (void);
4462 sglr::ShaderProgram& GeometryInvocationCase::getProgram (void) in getProgram()
4500 sglr::ShaderProgram& getProgram (void);
4544 sglr::ShaderProgram& DrawInstancedGeometryInstancedCase::getProgram (void) in getProgram()
6502 …const std::string name = std::string("type_") + inputTypeToGLString(sglr::rr_util::mapGLGeometry… in init()
6503 …const std::string desc = std::string("Shader input type ") + inputTypeToGLString(sglr::rr_util::… in init()