Browse Source

Moving backends code from examples/ to backends/ (step 2: moving vulkan cruft)

pull/3530/head
ocornut 4 years ago
parent
commit
428f4fce70
  1. 3
      backends/vulkan/generate_spv.sh
  2. 0
      backends/vulkan/glsl_shader.frag
  3. 0
      backends/vulkan/glsl_shader.vert

3
examples/example_glfw_vulkan/gen_spv.sh → backends/vulkan/generate_spv.sh

@ -1,3 +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

0
examples/example_glfw_vulkan/glsl_shader.frag → backends/vulkan/glsl_shader.frag

0
examples/example_glfw_vulkan/glsl_shader.vert → backends/vulkan/glsl_shader.vert

Loading…
Cancel
Save