mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
16 lines
206 B
GLSL
16 lines
206 B
GLSL
#version 450
|
|
layout(location = 0) out float FragColor;
|
|
|
|
layout(binding = 0, std140) uniform UBO
|
|
{
|
|
vec3 color;
|
|
float v;
|
|
};
|
|
|
|
layout(location = 0) in vec3 vIn;
|
|
|
|
void main()
|
|
{
|
|
FragColor = dot(vIn, color);
|
|
}
|