From a6501b5d7ad204c3b998c843c7ed68ef7be323ba Mon Sep 17 00:00:00 2001 From: gramanas Date: Wed, 5 Jun 2024 19:04:25 +0300 Subject: more vks, stupid mutlistep build, and imgui --- lib/imgui-1.90.7/backends/vulkan/generate_spv.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 lib/imgui-1.90.7/backends/vulkan/generate_spv.sh (limited to 'lib/imgui-1.90.7/backends/vulkan/generate_spv.sh') diff --git a/lib/imgui-1.90.7/backends/vulkan/generate_spv.sh b/lib/imgui-1.90.7/backends/vulkan/generate_spv.sh new file mode 100755 index 0000000..948ef77 --- /dev/null +++ b/lib/imgui-1.90.7/backends/vulkan/generate_spv.sh @@ -0,0 +1,6 @@ +#!/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 -- cgit v1.2.3