mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
17 lines
355 B
GLSL
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);
|
|
}
|