swr: [rasterizer codegen] add cmdline to archrast gen files
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 20 Mar 2017 22:39:41 +0000 (17:39 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 28 Mar 2017 16:24:09 +0000 (11:24 -0500)
Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp

index efe42bb8dbf0250f89877a51b3627d69b2028737..06a3dea4ad95bb99bddc96bb086dfbe2d89781b0 100644 (file)
@@ -155,6 +155,7 @@ def main():
         output_fullpath = os.sep.join([output_dir, output_filename])
 
         MakoTemplateWriter.to_file(template_file, output_fullpath,
+                cmdline=sys.argv,
                 filename=output_filename,
                 protos=protos)
 
@@ -165,6 +166,7 @@ def main():
         output_fullpath = os.sep.join([output_dir, output_filename])
 
         MakoTemplateWriter.to_file(template_file, output_fullpath,
+                cmdline=sys.argv,
                 filename=output_filename,
                 protos=protos)
 
@@ -175,6 +177,7 @@ def main():
         output_fullpath = os.sep.join([output_dir, output_filename])
 
         MakoTemplateWriter.to_file(template_file, output_fullpath,
+                cmdline=sys.argv,
                 filename=output_filename,
                 event_header='gen_ar_event.hpp',
                 protos=protos)
@@ -186,6 +189,7 @@ def main():
         output_fullpath = os.sep.join([output_dir, output_filename])
 
         MakoTemplateWriter.to_file(template_file, output_fullpath,
+                cmdline=sys.argv,
                 filename=output_filename,
                 event_header='gen_ar_eventhandler.hpp',
                 protos=protos)
index b743b2f3d2d3c0add5e7fde1b0cfc1537828aa41..d48fda61c2a5f711cff5df8f53cbbb6f2fe3bf35 100644 (file)
@@ -26,6 +26,9 @@
 * 
 * DO NOT EDIT
 *
+* Generation Command Line:
+*  ${'\n*    '.join(cmdline)}
+*
 ******************************************************************************/
 #include "common/os.h"
 #include "gen_ar_event.hpp"
index 68926ea805351c2ed2d63d492f9a04c64e36aaca..e792f5f63e6e071677f594bdd4e93951b1153345 100644 (file)
@@ -25,6 +25,9 @@
 * @brief Definitions for events.  auto-generated file
 * 
 * DO NOT EDIT
+*
+* Generation Command Line:
+*  ${'\n*    '.join(cmdline)}
 * 
 ******************************************************************************/
 #pragma once
index cfed2aded0c47519cfbd8bc75fa31f700fe68923..87d0ef47cab3fb4a240dbba350e3924b809d841f 100644 (file)
 * @brief Event handler interface.  auto-generated file
 * 
 * DO NOT EDIT
-* 
+*
+* Generation Command Line:
+*  ${'\n*    '.join(cmdline)}
+*
 ******************************************************************************/
 #pragma once
 
index 48ff0b0a958a75671ae53e06a73dd65b6fe59175..3a618a124de77a3105f0f3cd80e791e7ddb71d6b 100644 (file)
 * @brief Event handler interface.  auto-generated file
 * 
 * DO NOT EDIT
-* 
+*
+* Generation Command Line:
+*  ${'\n*    '.join(cmdline)}
+*
 ******************************************************************************/
 #pragma once