mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 15:40:14 +00:00
16 lines
266 B
GLSL
16 lines
266 B
GLSL
|
#version 310 es
|
||
|
layout(location = 0) in vec4 Position;
|
||
|
layout(location = 1) in vec4 Color;
|
||
|
layout(location = 0) out vec4 vColor;
|
||
|
|
||
|
layout(std140, set = 0, binding = 0) uniform UBO
|
||
|
{
|
||
|
mat4 MVP;
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = MVP * Position;
|
||
|
vColor = Color;
|
||
|
}
|