SPIRV-Cross-Vulnerable/shaders/desktop-only/frag/image-size.no-qualifier-deduction.frag
2020-03-04 16:42:31 +01:00

11 lines
251 B
GLSL

#version 450
layout(location = 0) out vec4 FragColor;
layout(r32f, set = 0, binding = 0) uniform image2D uImage1;
layout(r32f, set = 0, binding = 1) uniform image2D uImage2;
void main()
{
FragColor = vec4(imageSize(uImage1), imageSize(uImage2));
}