summaryrefslogtreecommitdiffstats
path: root/src/extras/shaders/makeinc_hlsl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/shaders/makeinc_hlsl.sh')
-rw-r--r--src/extras/shaders/makeinc_hlsl.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/extras/shaders/makeinc_hlsl.sh b/src/extras/shaders/makeinc_hlsl.sh
new file mode 100644
index 00000000..a5b12867
--- /dev/null
+++ b/src/extras/shaders/makeinc_hlsl.sh
@@ -0,0 +1,6 @@
+#!sh
+cd obj
+for i in *cso; do
+ (echo -n 'static '
+ xxd -i $i | grep -v '_len = ') > ${i%cso}inc
+done