Lines Matching defs:str
210 std::ostringstream str;
211 str << "#version 450\n"
219 str << "layout(binding = " << i << ", input_attachment_index = " << descriptorBindings[i] <<") uniform subpassInput attach" << i <<";\n";
221 str << "void main (void)\n"
227 str << " result.x = result.x + 1;\n";
228 str << " if(subpassLoad(attach" << i << ").x > 0.0)\n";
229 str << " result.y = result.y + 1;\n";
232 str << " imageStore(resultImage, ivec2(imageSize(resultImage) * inUV.xy), result);\n"
235 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(str.str());