declare const _default: "\n // the debug views, declared only while a debug view is displayed\n #ifdef COMPOSE_EFFECT_DEBUG\n var smaaEdgesTexture: texture_2d;\n var smaaEdgesTextureSampler: sampler;\n var smaaWeightsTexture: texture_2d;\n var smaaWeightsTextureSampler: sampler;\n\n // the pixel sampled, flipped like the composition samples the scene\n fn smaaDebugUv() -> vec2f {\n return vec2f(uv0.x, mix(uv0.y, 1.0 - uv0.y, uniform.composeTargetFlipY));\n }\n\n // the 'smaaedges' debug view: the edges found, red on the left side of a pixel and green on\n // its top\n fn debugSmaaedges() -> vec3f {\n return vec3f(textureSampleLevel(smaaEdgesTexture, smaaEdgesTextureSampler, smaaDebugUv(), 0.0).rg, 0.0);\n }\n\n // the 'smaaweights' debug view: how much each pixel blends with its neighbors, red along\n // horizontal edges and green along vertical ones\n fn debugSmaaweights() -> vec3f {\n let weights = textureSampleLevel(smaaWeightsTexture, smaaWeightsTextureSampler, smaaDebugUv(), 0.0);\n return vec3f(weights.r + weights.g, weights.b + weights.a, 0.0);\n }\n #endif\n"; export default _default;