aboutsummaryrefslogtreecommitdiffstats
path: root/thirdparty/imgui/backends/sdlgpu3/shader.frag
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-05-05 00:23:17 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-05-05 00:23:17 +0200
commit3dd580b7365e196bc2ba45d91bc7f78009f341ef (patch)
treea991499eeed6564c42d0d5f71acf1f2109c256ab /thirdparty/imgui/backends/sdlgpu3/shader.frag
parent1a92f70f699389219dbda42d175e7898cdbe7783 (diff)
Remove useless files in thirdparty directoy and move to simdjson
Diffstat (limited to 'thirdparty/imgui/backends/sdlgpu3/shader.frag')
-rw-r--r--thirdparty/imgui/backends/sdlgpu3/shader.frag15
1 files changed, 15 insertions, 0 deletions
diff --git a/thirdparty/imgui/backends/sdlgpu3/shader.frag b/thirdparty/imgui/backends/sdlgpu3/shader.frag
new file mode 100644
index 0000000..ab9ce18
--- /dev/null
+++ b/thirdparty/imgui/backends/sdlgpu3/shader.frag
@@ -0,0 +1,15 @@
+#version 450 core
+layout(location = 0) out vec4 fColor;
+
+layout(set=2, 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);
+}