third_party/spirv-cross/shaders/desktop-only/frag/sampler-ms-query.desktop.frag
raw| 1 | #version 450 |
| 2 | |
| 3 | layout(location = 0) out vec4 FragColor; |
| 4 | layout(binding = 0) uniform sampler2DMS uSampler; |
| 5 | layout(binding = 1) uniform sampler2DMSArray uSamplerArray; |
| 6 | layout(rgba8, binding = 2) uniform image2DMS uImage; |
| 7 | layout(rgba8, binding = 3) uniform image2DMSArray uImageArray; |
| 8 | |
| 9 | void main() |
| 10 | { |
| 11 | FragColor = |
| 12 | vec4( |
| 13 | textureSamples(uSampler) + |
| 14 | textureSamples(uSamplerArray) + |
| 15 | imageSamples(uImage) + |
| 16 | imageSamples(uImageArray)); |
| 17 | } |