mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
19 lines
310 B
Plaintext
19 lines
310 B
Plaintext
|
#version 310 es
|
||
|
precision mediump float;
|
||
|
precision highp int;
|
||
|
|
||
|
layout(push_constant, std430) uniform PushConstants
|
||
|
{
|
||
|
vec4 value0;
|
||
|
vec4 value1;
|
||
|
} push;
|
||
|
|
||
|
layout(location = 0) out vec4 FragColor;
|
||
|
layout(location = 0) in vec4 vColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FragColor = (vColor + push.value0) + push.value1;
|
||
|
}
|
||
|
|