diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 15:28:38 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 15:28:38 +0100 |
| commit | 210404a73706993d197c1290d5a411394e176fbe (patch) | |
| tree | 93c3ea9fc4691ca42f26dd92c6e14627af0b47af /libs/imgui-1.92.1/backends/vulkan | |
| parent | a65e876f3277a7d7fca6e5129ac3e200dae2d0dc (diff) | |
remove unused lib files
Diffstat (limited to 'libs/imgui-1.92.1/backends/vulkan')
4 files changed, 0 insertions, 49 deletions
diff --git a/libs/imgui-1.92.1/backends/vulkan/build_instructions.txt b/libs/imgui-1.92.1/backends/vulkan/build_instructions.txt deleted file mode 100644 index 1f028d9..0000000 --- a/libs/imgui-1.92.1/backends/vulkan/build_instructions.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Script to rebuild shaders stored inside imgui_impl_vulkan.h -(You don't need to copy this folder if you are using the backend as-is) - diff --git a/libs/imgui-1.92.1/backends/vulkan/generate_spv.sh b/libs/imgui-1.92.1/backends/vulkan/generate_spv.sh deleted file mode 100644 index 948ef77..0000000 --- a/libs/imgui-1.92.1/backends/vulkan/generate_spv.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -## -V: create SPIR-V binary -## -x: save binary output as text-based 32-bit hexadecimal numbers -## -o: output file -glslangValidator -V -x -o glsl_shader.frag.u32 glsl_shader.frag -glslangValidator -V -x -o glsl_shader.vert.u32 glsl_shader.vert diff --git a/libs/imgui-1.92.1/backends/vulkan/glsl_shader.frag b/libs/imgui-1.92.1/backends/vulkan/glsl_shader.frag deleted file mode 100644 index ce7e6f7..0000000 --- a/libs/imgui-1.92.1/backends/vulkan/glsl_shader.frag +++ /dev/null @@ -1,14 +0,0 @@ -#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); -} diff --git a/libs/imgui-1.92.1/backends/vulkan/glsl_shader.vert b/libs/imgui-1.92.1/backends/vulkan/glsl_shader.vert deleted file mode 100644 index 9425365..0000000 --- a/libs/imgui-1.92.1/backends/vulkan/glsl_shader.vert +++ /dev/null @@ -1,25 +0,0 @@ -#version 450 core -layout(location = 0) in vec2 aPos; -layout(location = 1) in vec2 aUV; -layout(location = 2) in vec4 aColor; - -layout(push_constant) uniform uPushConstant { - vec2 uScale; - vec2 uTranslate; -} pc; - -out gl_PerVertex { - vec4 gl_Position; -}; - -layout(location = 0) out struct { - vec4 Color; - vec2 UV; -} Out; - -void main() -{ - Out.Color = aColor; - Out.UV = aUV; - gl_Position = vec4(aPos * pc.uScale + pc.uTranslate, 0, 1); -} |
