SPIRV-Cross/reference/shaders/vulkan/frag/push-constant-as-ubo.push-ubo.vk.frag
2019-03-19 10:58:52 +01:00

15 lines
157 B
GLSL

#version 450
layout(std140) uniform UBO
{
float ubo[4];
} _14;
layout(location = 0) out float FragColor;
void main()
{
FragColor = _14.ubo[1];
}