Lines Matching refs:src

587 		std::ostringstream src;
588 src << "#version 310 es\n"
597 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str());
603 std::ostringstream src;
604 src << "#version 310 es\n"
621 src << " highp int emitCount = (gl_PrimitiveIDIn == 0) ? (" << m_pattern[0] << ") : (" << m_pattern[1] << ");\n";
623 src << " highp int emitCount = " << m_pattern[0] << ";\n";
624 src << " for (highp int ndx = 0; ndx < emitCount / 2; ndx++)\n"
636 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str());
640 std::ostringstream src;
641 src << "#version 310 es\n"
648 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str());
687 std::ostringstream src;
692 src << "#version 310 es\n"
703 src << "#version 310 es\n"
717 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str());
722 std::ostringstream src;
723 src << "#version 310 es\n"
727 src << "layout(points, invocations=4) in;\n";
729 src << "layout(points) in;\n";
734 src << "layout(triangle_strip, max_vertices = 128) out;\n"
760 src << "layout(triangle_strip, max_vertices = 128) out;\n"
796 src << "layout(triangle_strip, max_vertices = 128) out;\n"
841 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str());
845 std::ostringstream src;
846 src << "#version 310 es\n"
853 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str());
896 std::ostringstream src;
897 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
907 src << "layout(location = 1) in vec4 a_pointSize;\n"
917 src << "void main (void)\n"
923 src << "layout(location = 1) in vec4 a_primitiveID;\n"
935 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str());
939 std::ostringstream src;
940 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
954 src << "#extension GL_EXT_geometry_point_size : require\n"
968 src << "layout(lines) in;\n"
991 src << "layout(points, invocations=1) in;\n"
1011 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str());
1015 std::ostringstream src;
1016 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n";
1020 src << "layout(location = 0) out vec4 fragColor;\n"
1028 src << "layout(location = 0) out vec4 fragColor;\n"
1036 src << "layout(location = 0) out vec4 fragColor;\n"
1051 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str());