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

13 lines
222 B
GLSL

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