summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-10 21:52:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-10 21:52:38 +0000
commit5126582accd4af607184946200f5a937ff8d6b69 (patch)
tree4418890fee58c4ae2a7ada8e41bdfa46df897157 /lib
parentRefactor glMappedBufferWriter into a DSA wrapper for std::span (diff)
downloadilt-5126582accd4af607184946200f5a937ff8d6b69.tar.bz2
ilt-5126582accd4af607184946200f5a937ff8d6b69.tar.xz
ilt-5126582accd4af607184946200f5a937ff8d6b69.zip
Replace hacky m4 shader preprocessing with proper glslang version
Diffstat (limited to 'lib')
-rw-r--r--lib/embed-glsl.cpp.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/embed-glsl.cpp.m4 b/lib/embed-glsl.cpp.m4
index 02ba732..e8d285c 100644
--- a/lib/embed-glsl.cpp.m4
+++ b/lib/embed-glsl.cpp.m4
@@ -5,5 +5,5 @@ changecom() dnl
#include <glad/gl.h>
constexpr Shader NAME`_'substr(TYPE,1) {
- R"GLSL-EMBED(// OUTPUT
- include(SOURCE))GLSL-EMBED", GLTYPE };
+ R"GLSL-EMBED(// SOURCE
+include(SOURCE))GLSL-EMBED", GLTYPE };