SPIRV-Cross/reference/shaders/vulkan/frag/desktop-mediump.vk.frag.vk
2017-12-06 10:25:58 +01:00

13 lines
254 B
Plaintext

#version 450
layout(location = 0) out mediump vec4 FragColor;
layout(location = 0) in mediump vec4 F;
layout(location = 1) flat in mediump ivec4 I;
layout(location = 2) flat in mediump uvec4 U;
void main()
{
FragColor = (F + vec4(I)) + vec4(U);
}