spirv: add DO NOT EDIT warning on generated spirv_info.c

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Alejandro Piñeiro 2017-10-13 16:17:14 +02:00
parent 54a58b2856
commit 157c9a1341
1 changed files with 4 additions and 1 deletions

View File

@ -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: