Lines Matching refs:src

858 		std::ostringstream src;
859 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
865 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
879 std::ostringstream src;
880 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
884 src << "layout(binding = 0) readonly uniform Input {\n"
889 src << "layout(points, invocations = " << numLayers << ") in;\n";
891 src << "layout(points) in;\n";
893 src << "layout(triangle_strip, max_vertices = " << maxVertices << ") out;\n"
920 src << " gl_Position = vec4(-1.0, -1.0, 0.0, 1.0);\n"
940 src << " gl_Position = vec4(-1.0, -1.0, 0.0, 1.0);\n"
962 src << colorTable.str()
995 src << " for (int layerNdx = 0; layerNdx < " << numLayers << "; ++layerNdx) {\n"
1020 src << " for (int layerNdx = 0; layerNdx < " << numLayers << "; ++layerNdx) {\n"
1039 src << colorTable.str()
1069 src << " const int layerA = gl_InvocationID;\n"
1108 src << colorTable.str()
1146 src << "}\n"; // end main
1148 programCollection.glslSources.add("geom") << glu::GeometrySource(src.str());
1175 std::ostringstream src;
1176 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
1188 src << " o_color = vec4( (gl_Layer % 2) == 1 ? 1.0 : 0.5,\n"
1198 src << " ivec2 coord = ivec2(int(gl_FragCoord.x), gl_Layer);\n";
1201 src << " ivec3 coord = ivec3(int(gl_FragCoord.x), int(gl_FragCoord.y), gl_Layer);\n";
1205 src << " vec4 src_color = imageLoad(storageImage, coord);\n"
1210 src << " o_color = vert_color;\n";
1212 src << " o_color = vec4(1.0);\n";
1214 src << "}\n";
1216 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
1468 // bits are included in src and dst access mask of the color and depth barriers.