evas shader generation - add comments to indicate to commit the files

so you know the files should change when you "make" and shf files are
updated, add notes to the .x files generated to indicate they should
be committed back to the repo so it is clear
This commit is contained in:
Carsten Haitzler 2015-05-21 17:13:25 +09:00
parent ce7a6e7106
commit b2c9899d8a
5 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,5 @@
/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */
typedef enum {
SHADER_RECT,

View File

@ -1,4 +1,5 @@
/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */
#include "../evas_gl_private.h"

View File

@ -58,7 +58,8 @@ IFS=$'\n' SHADERS=(`cat ${DIR}/shaders.txt`)
IFS=$OIFS
# Write header
printf "/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */\n\n" > ${OUTPUT}
printf "/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */\n" > ${OUTPUT}
printf "/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */\n\n" >> ${OUTPUT}
# Including private for hilights and stuff :)
printf "#include \"../evas_gl_private.h\"\n\n" >> ${OUTPUT}
@ -173,6 +174,7 @@ static const struct {
printf "${shaders_source}};\n\n" >> ${OUTPUT}
printf "/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */
typedef enum {
${shaders_enum} SHADER_LAST

View File

@ -1,4 +1,5 @@
/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */
static const char vertex_color_vert_glsl[] =
"#ifdef GL_ES\n"

View File

@ -22,7 +22,9 @@ vert_shaders_source=""
frag_shaders_source=""
# Write header
printf "/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */\n\n"
printf "/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */\n"
printf "/* IF IT IS CHANGED PLEASE COMMIT THE CHANGES */\n\n"
for shd in ${SHADERS} ; do
lname=`basename ${shd} .shd`