2016-05-05 08:16:22 +00:00
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
precision highp int;
|
|
|
|
|
|
|
|
struct PushConstants
|
|
|
|
{
|
|
|
|
vec4 value0;
|
|
|
|
vec4 value1;
|
|
|
|
};
|
|
|
|
|
|
|
|
uniform PushConstants push;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
layout(location = 0) in vec4 vColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-12-05 09:22:54 +00:00
|
|
|
FragColor = (vColor + push.value0) + push.value1;
|
2016-05-05 08:16:22 +00:00
|
|
|
}
|
|
|
|
|