summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-10-13 16:17:14 +0200
committerAlejandro Piñeiro <[email protected]>2017-11-13 13:28:44 +0100
commit157c9a13414b524ce98ea0ea07fce819efc1ba65 (patch)
treea47edc602cd9d71eba0b32dc324920e090cf25e3 /src/compiler/spirv
parent54a58b2856377e18ea6a42706bea0304a8d7845e (diff)
spirv: add DO NOT EDIT warning on generated spirv_info.c
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r--src/compiler/spirv/spirv_info_c.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv_info_c.py b/src/compiler/spirv/spirv_info_c.py
index c5e11dfc837..11235cfa3e4 100644
--- 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: