Lines Matching defs:src

2494 		std::ostringstream src;
2495 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2535 programCollection.glslSources.add("comp_singleFloat") << glu::ComputeSource(src.str());
2540 std::ostringstream src;
2541 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2581 programCollection.glslSources.add("comp_singleInt") << glu::ComputeSource(src.str());
2586 std::ostringstream src;
2587 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2626 programCollection.glslSources.add("comp_singleDepth") << glu::ComputeSource(src.str());
2631 std::ostringstream src;
2632 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2671 programCollection.glslSources.add("comp_singleStencil") << glu::ComputeSource(src.str());
2679 std::ostringstream src;
2680 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2693 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
2725 std::ostringstream src;
2726 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2753 src << " " << (sampleID == 0 ? "" : "else ") << "if (gl_SampleID == " << sampleID << ")\n"
2761 src << "}\n";
2763 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
2805 std::ostringstream src;
2806 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
2824 src << "layout(set = 0, binding = 4) uniform texture2D depthImage;\n";
2826 src << "layout(set = 0, binding = 5) uniform utexture2D stencilImage;\n";
2827 src << "layout(set = 0, binding = 6, rgba8) uniform writeonly image2DArray verify;\n"
2891 src << (sampleID == 0 ? "" : " || ")
2898 src << " {\n"
2908 src << " vec4 resultDepth = vec4(1, 0, 0, 1);\n"
2919 src << " vec4 resultStencil = vec4(1, 0, 0, 1);\n"
2928 src << "}\n";
2930 programCollection.glslSources.add("comp") << glu::ComputeSource(src.str());
4252 std::ostringstream src;
4253 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
4266 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
4286 std::ostringstream src;
4287 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
4291 src << "layout(location = " << perPass.floatColor1Location << ") out vec4 o_color1;\n";
4293 src << "layout(location = " << perPass.floatColor2Location << ") out vec4 o_color2;\n";
4295 src << "layout(location = " << perPass.intColorLocation << ") out " << intTypePrefix << "vec4 o_color3;\n";
4297 src << "\n"
4313 src << " o_color1 = params.color1Data[0] * uv.x;\n";
4315 src << " o_color2 = params.color2Data[0] * uv.x;\n";
4317 src << " o_color3 = " << intTypePrefix << "vec4(vec4(params.color3Data[0]) * uv.x);\n";
4319 src << " gl_FragDepth = params.depthData.x;\n";
4321 src << " }\n"
4326 src << " o_color1 = params.color1Data[1] * uv.y;\n";
4328 src << " o_color2 = params.color2Data[1] * uv.y;\n";
4330 src << " o_color3 = " << intTypePrefix << "vec4(vec4(params.color3Data[1]) * uv.y);\n";
4332 src << " gl_FragDepth = params.depthData.y;\n";
4334 src << " }\n"
4340 programCollection.glslSources.add(name.str()) << glu::FragmentSource(src.str());
4350 std::ostringstream src;
4351 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
4373 src << "layout(set = 0, binding = 4) uniform texture2D depthImage;\n";
4375 src << "layout(set = 0, binding = 5) uniform utexture2D stencilImage;\n";
4376 src << "layout(set = 0, binding = 6, rgba8) uniform writeonly image2DArray verify;\n"
4409 src << " + vec4(" << params.clearValues[0].color.float32[0] << ", "
4413 src << ";\n"
4426 src << " + vec4(" << params.clearValues[1].color.float32[0] << ", "
4430 src << ";\n"
4444 src << " ivec4 clearValue3 = ivec4(" << (params.perPass[0].intColorLocation < 0 ? params.clearValues[2].color.int32[0] : 0) << ", "
4449 src << " ivec4 clearValue3 = ivec4(0);\n";
4450 src << " ivec4 expected3_0 = ivec4(params.color3Data[0] * uv.x) + clearValue3;\n"
4461 src << " vec4 resultDepth = vec4(1, 0, 0, 1);\n"
4470 src << " vec4 resultStencil = vec4(1, 0, 0, 1);\n"
4478 src << "}\n";
4480 programCollection.glslSources.add("comp") << glu::ComputeSource(src.str());
4873 std::ostringstream src;
4874 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n"
4880 src << "layout(input_attachment_index = 1, set = 0, binding = 1) uniform subpassInput" << subpassInputSuffix << " i_depth;\n";
4882 src << "layout(input_attachment_index = 1, set = 0, binding = 2) uniform usubpassInput" << subpassInputSuffix << " i_stencil;\n";
4883 src << "\n"
4896 src << " color3Value.x = uint(subpassLoad(i_depth" << subpassLoadParam << ").x * 10000 * uv.x);\n";
4898 src << " color3Value.y = uint(subpassLoad(i_stencil" << subpassLoadParam << ").x * 100 * uv.y);\n";
4899 src << " o_color3 = " << intTypePrefix << "vec4(color3Value);\n"
4902 programCollection.glslSources.add("frag_in") << glu::FragmentSource(src.str());