third_party/spirv-cross/reference/shaders/asm/frag/image-query-no-sampler.vk.asm.frag.vk
raw| 1 | #version 450 |
| 2 | #extension GL_EXT_samplerless_texture_functions : require |
| 3 | |
| 4 | layout(set = 0, binding = 0) uniform texture2D uSampler2D; |
| 5 | layout(set = 0, binding = 0) uniform texture2DMS uSampler2DMS; |
| 6 | |
| 7 | void main() |
| 8 | { |
| 9 | ivec2 b = textureSize(uSampler2D, 0); |
| 10 | ivec2 c = textureSize(uSampler2DMS); |
| 11 | int l1 = textureQueryLevels(uSampler2D); |
| 12 | int s0 = textureSamples(uSampler2DMS); |
| 13 | } |
| 14 |