mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-19 02:55:11 +00:00
7 lines
254 B
Bash
7 lines
254 B
Bash
|
#!/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
|