Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/asm/frag/image-fetch-no-sampler.asm.vk.frag.vk

raw
1 #version 450
2 #extension GL_EXT_samplerless_texture_functions : require
3
4 layout(set = 0, binding = 0) uniform sampler Sampler;
5 layout(set = 0, binding = 0) uniform texture2D SampledImage;
6
7 layout(location = 0) out vec4 _entryPointOutput;
8
9 void main()
10 {
11 ivec2 _154 = ivec3(int(gl_FragCoord.x * 1280.0), int(gl_FragCoord.y * 720.0), 0).xy;
12 _entryPointOutput = ((texelFetch(SampledImage, _154, 0) + texelFetch(SampledImage, _154, 0)) + texture(sampler2D(SampledImage, Sampler), gl_FragCoord.xy)) + texture(sampler2D(SampledImage, Sampler), gl_FragCoord.xy);
13 }
14