Debian Codegraph @

extern/imgui_patched/backends/sdlgpu3/shader.frag

raw
1 #version 450 core
2 layout(location = 0) out vec4 fColor;
3
4 layout(set=2, binding=0) uniform sampler2D sTexture;
5
6 layout(location = 0) in struct
7 {
8 vec4 Color;
9 vec2 UV;
10 } In;
11
12 void main()
13 {
14 fColor = In.Color * texture(sTexture, In.UV.st);
15 }