SPIRV-Cross/reference/shaders/asm/frag/image-extract-reuse.asm.frag
2018-04-27 11:11:24 +02:00

12 lines
182 B
GLSL

#version 450
layout(binding = 0) uniform sampler2D uTexture;
layout(location = 0) out ivec2 Size;
void main()
{
Size = textureSize(uTexture, 0) + textureSize(uTexture, 1);
}