File: generate_spv.sh

package info (click to toggle)
looking-glass 0%2Bb7%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,548 kB
  • sloc: ansic: 75,048; cpp: 68,744; python: 455; sh: 184; makefile: 102; awk: 11
file content (6 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download | duplicates (10)
1
2
3
4
5
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