diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2026-05-05 00:23:17 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2026-05-05 00:23:17 +0200 |
| commit | 3dd580b7365e196bc2ba45d91bc7f78009f341ef (patch) | |
| tree | a991499eeed6564c42d0d5f71acf1f2109c256ab /thirdparty/imgui/backends/sdlgpu3/shader.frag | |
| parent | 1a92f70f699389219dbda42d175e7898cdbe7783 (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.frag | 15 |
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); +} |
