☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
shaders-hlsl
/
frag
/
texture-size-combined-image-sampler.frag
☽
☼
third_party/spirv-cross/shaders-hlsl/frag/texture-size-combined-image-sampler.frag
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#version 450
2
layout(set = 0, binding = 0) uniform texture2D uTex;
3
layout(set = 0, binding = 1) uniform sampler uSampler;
4
layout(location = 0) out ivec2 FooOut;
5
6
void main()
7
{
8
FooOut = textureSize(sampler2D(uTex, uSampler), 0);
9
}