and embed the included files directly in the stringified files. We need this, because we start sharing struct definitions and code between C/C++ and OpenCL (and potentially other languages) preprocessor is from http://github.com/willsteel/lcpp
14 lines
349 B
C
14 lines
349 B
C
//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
|
|
static const char* createShadowMapInstancingFragmentShader= \
|
|
"#version 330\n"
|
|
"precision highp float;\n"
|
|
"\n"
|
|
"\n"
|
|
"layout(location = 0) out float fragmentdepth;\n"
|
|
"\n"
|
|
"void main(void)\n"
|
|
"{\n"
|
|
" fragmentdepth = gl_FragCoord.z;\n"
|
|
"}\n"
|
|
;
|