Lines Matching refs:GeometrySource
221 << sglr::pdec::GeometrySource(genGeometrySource(contextType, inputType, outputType).c_str()))
324 << sglr::pdec::GeometrySource(genGeometrySource(contextType, emitCountA, endCountA, emitCountB, endCountB, outputType).c_str()))
615 std::ostringstream geometrySource;
701 // geometrySource
703 geometrySource << "${GLSL_VERSION_DECL}\n"
709 geometrySource << "in highp vec4 v_geom_" << i << "[];\n";
711 geometrySource << "out highp vec4 v_frag_" << i << ";\n";
713 geometrySource << "void main (void)\n"
723 geometrySource << "\tinputColor = vec4(1.0, 0.0, 0.0, 1.0);\n"
732 geometrySource << "\tinputColor = vec4(1.0, 0.0, 0.0, 1.0);\n";
736 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "];\n";
740 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "] * 0.5 + v_geom_1[" << vertexNdx << "].zyxw * 0.5;\n";
746 geometrySource << "\tgl_Position = gl_in[" << vertexNdx << "].gl_Position + offset;\n"
756 geometrySource << "\tv_frag_0 = inputColor;\n";
760 geometrySource << "\tv_frag_0 = inputColor * 0.5;\n";
761 geometrySource << "\tv_frag_1 = inputColor.yxzw * 0.5;\n";
768 geometrySource << "\tEmitVertex();\n\n";
771 geometrySource << "\tEndPrimitive();\n"
777 << sglr::pdec::GeometrySource(specializeShader(geometrySource.str(), contextType).c_str());
809 << sglr::pdec::GeometrySource(genGeometrySource(contextType, spec).c_str()))
946 << sglr::pdec::GeometrySource(genGeometrySource(contextType, test).c_str()))
1242 << sglr::pdec::GeometrySource(genGeometrySource(contextType, source, maxEmitCount, instanced).c_str()))
1515 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations, testCase).c_str()))
1696 << sglr::pdec::GeometrySource(genGeometrySource(contextType, numInvocations).c_str()))
3023 << glu::GeometrySource(genGeometrySource(m_context.getRenderContext().getType())));
3981 const std::string geometrySource = m_cases[ndx].header + std::string(s_geometryBody);
3986 << glu::GeometrySource(specializeShader(geometrySource, m_context.getRenderContext().getType())));
4007 static const std::string geometrySource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()))) + "\n"
4015 static const char* const s_geomSource = geometrySource.c_str();
4582 const std::string geometrySource = "${GLSL_VERSION_DECL}\n"
4600 << glu::GeometrySource(specializeShader(geometrySource, m_context.getRenderContext().getType()))));
4795 std::ostringstream geometrySource;
4800 geometrySource << "${GLSL_VERSION_DECL}\n"
4821 geometrySource << "\n"
4837 geometrySource << "\n"
4856 geometrySource << "\n"
4869 geometrySource << "}\n";
4875 if (!geometrySource.str().empty())
4876 sources << glu::GeometrySource(specializeShader(geometrySource.str(), m_context.getRenderContext().getType()));
5250 static const char* const geometrySource = "${GLSL_VERSION_DECL}\n"
5264 << glu::GeometrySource(specializeShader(geometrySource, m_context.getRenderContext().getType())));