summaryrefslogtreecommitdiff
path: root/utility/embed-glsl.cpp.m4
blob: febba68f28a8318be9490a11682c59bf585f5e79 (plain)
1
2
3
4
5
6
7
8
9
10
changecom()dnl
// NAME
#include "substr(TYPE,1)-NAME.h"
#include <cstring>

constexpr const GLchar * src { R"GLSL-EMBED(dnl
include(SOURCE))GLSL-EMBED" };
constexpr auto len { constexpr_strlen (src) };

const GLsource NAME`_'substr(TYPE,1) { src, len, GLTYPE };