Home | History | Annotate | Download | only in scripts

Lines Matching full:file_contents

209         file_contents = []
210 file_contents.append(self.copyright)
211 file_contents.append('\n#pragma once')
212 file_contents.append('\n// Disable auto-formatting for generated file')
213 file_contents.append('// clang-format off')
214 file_contents.append('\n#include <unordered_map>')
215 file_contents.append('\n// enum values for unique validation error codes')
216 file_contents.append('// Corresponding validation error message for each enum is given in the mapping table below')
217 file_contents.append('// When a given error occurs, these enum values should be passed to the as the messageCode')
218 file_contents.append('// parameter to the PFN_vkDebugReportCallbackEXT function')
238 file_contents.extend(enum_decl)
239 file_contents.append('\n// Mapping from unique validation error enum to the corresponding error message')
240 file_contents.append('// The error message should be appended to the end of a custom error message that is passed')
241 file_contents.append('// as the pMessage parameter to the PFN_vkDebugReportCallbackEXT function')
242 file_contents.extend(error_string_map)
243 #print ("File contents: %s" % (file_contents))
245 outfile.write("\n".join(file_contents))