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

14 lines
161 B
GLSL

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