Lines Matching defs:frag
413 std::ostringstream frag;
415 frag
424 frag << "layout (location=" << i << ") out uvec4 color" << i << ";\n";
436 frag
444 frag << " color" << i << " = uvec4(layerIndex, 255, " << i << ", 255);\n";
447 frag << "}\n";
449 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str());
466 // We also need geometry shader support to be able to use gl_Layer from frag shaders.
549 const auto fragModule = createShaderModule(ctx.vkd, ctx.device, binaries.get("frag"));
912 ? tcu::UVec4(layerIdx, 255u, static_cast<uint32_t>(colorImgIdx), 255u) // Needs to match frag shader.