mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
30 lines
382 B
GLSL
30 lines
382 B
GLSL
#version 450
|
|
|
|
struct VSInput
|
|
{
|
|
vec4 position;
|
|
};
|
|
|
|
struct VSOutput
|
|
{
|
|
vec4 position;
|
|
};
|
|
|
|
layout(location = 0) in vec4 position;
|
|
|
|
VSOutput _main(VSInput _input)
|
|
{
|
|
VSOutput _out;
|
|
_out.position = _input.position;
|
|
return _out;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
VSInput _input;
|
|
_input.position = position;
|
|
VSInput param = _input;
|
|
gl_Position = _main(param).position;
|
|
}
|
|
|