doompanning/backends/vulkan/glsl_shader.frag
oxmox b73ad7ee1b Squashed 'external/imgui/' content from commit d7c8516a4
git-subtree-dir: external/imgui
git-subtree-split: d7c8516a4b848c0291e3d75b627c0843f515f591
2023-02-12 03:32:19 +01:00

14 lines
249 B
GLSL

#version 450 core
layout(location = 0) out vec4 fColor;
layout(set=0, binding=0) uniform sampler2D sTexture;
layout(location = 0) in struct {
vec4 Color;
vec2 UV;
} In;
void main()
{
fColor = In.Color * texture(sTexture, In.UV.st);
}