2016-03-09 18:39:54 +03:00
|
|
|
#!/bin/bash
|
2020-10-12 16:51:41 +03:00
|
|
|
## -V: create SPIR-V binary
|
|
|
|
## -x: save binary output as text-based 32-bit hexadecimal numbers
|
|
|
|
## -o: output file
|
2016-10-18 23:40:58 +03:00
|
|
|
glslangValidator -V -x -o glsl_shader.frag.u32 glsl_shader.frag
|
|
|
|
glslangValidator -V -x -o glsl_shader.vert.u32 glsl_shader.vert
|