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

15 lines
172 B
Plaintext

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