From: Alejandro PiƱeiro Date: Fri, 13 Oct 2017 14:17:14 +0000 (+0200) Subject: spirv: add DO NOT EDIT warning on generated spirv_info.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=157c9a13414b524ce98ea0ea07fce819efc1ba65;p=mesa.git spirv: add DO NOT EDIT warning on generated spirv_info.c Reviewed-by: Eric Engestrom --- 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: