summaryrefslogtreecommitdiff
path: root/utility/embed-glsl.h.m4
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 13:38:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 13:38:38 +0000
commit50089bf9969edb5f10ff552b90620a4882e3c474 (patch)
tree4742cf02f21bdfd2c8a7b58c8726734b8ce7aeb0 /utility/embed-glsl.h.m4
parentPass a cppcheck (diff)
downloadilt-50089bf9969edb5f10ff552b90620a4882e3c474.tar.bz2
ilt-50089bf9969edb5f10ff552b90620a4882e3c474.tar.xz
ilt-50089bf9969edb5f10ff552b90620a4882e3c474.zip
m4 based GLSL embedding
Passes a lint check, less mangling, more automation
Diffstat (limited to 'utility/embed-glsl.h.m4')
-rw-r--r--utility/embed-glsl.h.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/utility/embed-glsl.h.m4 b/utility/embed-glsl.h.m4
new file mode 100644
index 0000000..918007b
--- /dev/null
+++ b/utility/embed-glsl.h.m4
@@ -0,0 +1,4 @@
+// NAME
+#include <gfx/gl/shader-source.h>
+
+extern const GLsource NAME`_'substr(TYPE,1);