Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/asm/frag/sampler-buffer-without-sampler.asm.frag

raw
1 #version 450
2
3 layout(binding = 0, rgba32f) uniform writeonly imageBuffer RWTex;
4 layout(binding = 1) uniform samplerBuffer Tex;
5
6 layout(location = 0) out vec4 _entryPointOutput;
7
8 void main()
9 {
10 imageStore(RWTex, 20, vec4(1.0, 2.0, 3.0, 4.0));
11 _entryPointOutput = texelFetch(Tex, 10);
12 }
13