RetroArch/gfx/drivers/vulkan_shaders/alpha_blend.frag

12 lines
283 B
GLSL
Raw Normal View History

2016-02-16 20:24:00 +01:00
#version 310 es
precision highp float;
layout(location = 0) in vec2 vTexCoord;
layout(location = 1) in vec4 vColor;
layout(location = 0) out vec4 FragColor;
layout(set = 0, binding = 1) uniform highp sampler2D uTex;
2016-02-16 20:24:00 +01:00
void main()
{
FragColor = vColor * texture(uTex, vTexCoord);
}