third_party/spirv-cross/reference/shaders-no-opt/asm/frag/sparse-texture-feedback-uint-code.asm.desktop.frag
raw| 1 | #version 450 |
| 2 | #extension GL_ARB_sparse_texture2 : require |
| 3 | |
| 4 | struct ResType |
| 5 | { |
| 6 | uint _m0; |
| 7 | vec4 _m1; |
| 8 | }; |
| 9 | |
| 10 | layout(binding = 0) uniform sampler2D uSamp; |
| 11 | |
| 12 | layout(location = 0) in vec2 vUV; |
| 13 | |
| 14 | void main() |
| 15 | { |
| 16 | uint _30; |
| 17 | vec4 _31; |
| 18 | _30 = sparseTextureARB(uSamp, vUV, _31); |
| 19 | ResType _26 = ResType(_30, _31); |
| 20 | vec4 texel = _26._m1; |
| 21 | bool ret = sparseTexelsResidentARB(int(_26._m0)); |
| 22 | } |
| 23 |