Moving backends code from examples/ to backends/ (step 2: moving vulkan cruft)

This commit is contained in:
ocornut
2020-10-14 14:41:40 +02:00
parent d9b2fb7338
commit 428f4fce70
3 changed files with 3 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#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);
}