| 1 |
#version 450 |
| 2 |
#extension GL_ARB_sparse_texture2 : require |
| 3 |
#extension GL_ARB_sparse_texture_clamp : require |
| 4 |
|
| 5 |
struct ResType |
| 6 |
{ |
| 7 |
int _m0; |
| 8 |
vec4 _m1; |
| 9 |
}; |
| 10 |
|
| 11 |
layout(binding = 0) uniform sampler2D uSamp; |
| 12 |
|
| 13 |
layout(location = 0) in vec2 vUV; |
| 14 |
|
| 15 |
void main() |
| 16 |
{ |
| 17 |
int _66; |
| 18 |
vec4 _67; |
| 19 |
_66 = sparseTextureClampARB(uSamp, vUV, 1.0, _67, 2.0); |
| 20 |
ResType _25 = ResType(_66, _67); |
| 21 |
vec4 texel = _25._m1; |
| 22 |
int code = _25._m0; |
| 23 |
texel = textureClampARB(uSamp, vUV, 1.0, 2.0); |
| 24 |
int _68; |
| 25 |
vec4 _69; |
| 26 |
_68 = sparseTextureOffsetClampARB(uSamp, vUV, ivec2(1, 2), 1.0, _69, 2.0); |
| 27 |
ResType _37 = ResType(_68, _69); |
| 28 |
texel = _37._m1; |
| 29 |
code = _37._m0; |
| 30 |
texel = textureOffsetClampARB(uSamp, vUV, ivec2(1, 2), 1.0, 2.0); |
| 31 |
int _70; |
| 32 |
vec4 _71; |
| 33 |
_70 = sparseTextureGradClampARB(uSamp, vUV, vec2(1.0), vec2(2.0), 1.0, _71); |
| 34 |
ResType _47 = ResType(_70, _71); |
| 35 |
texel = _47._m1; |
| 36 |
code = _47._m0; |
| 37 |
texel = textureGradClampARB(uSamp, vUV, vec2(1.0), vec2(2.0), 1.0); |
| 38 |
int _72; |
| 39 |
vec4 _73; |
| 40 |
_72 = sparseTextureGradOffsetClampARB(uSamp, vUV, vec2(1.0), vec2(2.0), ivec2(-1, -2), 1.0, _73); |
| 41 |
ResType _58 = ResType(_72, _73); |
| 42 |
texel = _58._m1; |
| 43 |
code = _58._m0; |
| 44 |
texel = textureGradOffsetClampARB(uSamp, vUV, vec2(1.0), vec2(2.0), ivec2(-1, -2), 1.0); |
| 45 |
} |
| 46 |
|