mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 21:39:54 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
23 lines
362 B
GLSL
23 lines
362 B
GLSL
#version 450
|
|
|
|
uniform Transform
|
|
{
|
|
mat4 transform;
|
|
} block;
|
|
|
|
layout(location = 0) in vec3 position;
|
|
layout(location = 1) in vec4 color;
|
|
|
|
layout(location = 2) out VertexOut
|
|
{
|
|
vec4 color;
|
|
vec4 color2;
|
|
} outputs;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = block.transform * vec4(position, 1.0);
|
|
outputs.color = color;
|
|
outputs.color2 = color + vec4(1.0);
|
|
}
|