aliaspider 5af5222249 update SPIRV-Cross
- https://github.com/KhronosGroup/SPIRV-Cross/commit/
66a407285e36a0f772e3209cb86ded6e3d900f6a
2018-01-26 13:48:17 +01:00

17 lines
355 B
GLSL

#version 450
layout(location = 0) flat in float vFloat;
layout(location = 1) flat in int vInt;
layout(location = 0) out vec4 Float;
layout(location = 1) out ivec4 Int;
layout(location = 2) out vec4 Float2;
layout(location = 3) out ivec4 Int2;
void main()
{
Float = vec4(vFloat) * 2.0;
Int = ivec4(vInt) * 2;
Float2 = vec4(10.0);
Int2 = ivec4(10);
}