mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 08:20:07 +00:00
10 lines
230 B
GLSL
10 lines
230 B
GLSL
|
#version 450
|
||
|
layout(set = 0, binding = 0) uniform texture2D uTex;
|
||
|
layout(set = 0, binding = 1) uniform sampler uSampler;
|
||
|
layout(location = 0) out ivec2 FooOut;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FooOut = textureSize(sampler2D(uTex, uSampler), 0);
|
||
|
}
|