projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54a58b2
)
spirv: add DO NOT EDIT warning on generated spirv_info.c
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Fri, 13 Oct 2017 14:17:14 +0000
(16:17 +0200)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Mon, 13 Nov 2017 12:28:44 +0000
(13:28 +0100)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/spirv/spirv_info_c.py
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv_info_c.py
b/src/compiler/spirv/spirv_info_c.py
index c5e11dfc837c12ac897a338762a64ccc18173243..11235cfa3e416c85afceaf8bc12f6c2632819db0 100644
(file)
--- a/
src/compiler/spirv/spirv_info_c.py
+++ b/
src/compiler/spirv/spirv_info_c.py
@@
-51,7
+51,10
@@
def parse_args():
p.add_argument("out")
return p.parse_args()
-TEMPLATE = Template(COPYRIGHT + """\
+TEMPLATE = Template("""\
+/* DO NOT EDIT - This file generated automatically by spirv_info_c.py script */
+
+""" + COPYRIGHT + """\
#include "spirv_info.h"
% for kind,values in info: