Debian Codegraph @

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

raw
1 #version 450
2
3 layout(set = 0, binding = 0) uniform sampler Sampler;
4 layout(set = 0, binding = 0) uniform texture2D SampledImage;
5 layout(set = 0, binding = 0) uniform sampler SPIRV_Cross_DummySampler;
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(sampler2D(SampledImage, SPIRV_Cross_DummySampler), _154, 0) + texelFetch(sampler2D(SampledImage, SPIRV_Cross_DummySampler), _154, 0)) + texture(sampler2D(SampledImage, Sampler), gl_FragCoord.xy)) + texture(sampler2D(SampledImage, Sampler), gl_FragCoord.xy);
13 }
14