aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-03-20 17:39:41 -0500
committerTim Rowley <[email protected]>2017-03-28 11:24:09 -0500
commit89b83f4b1e8b51cc23f7a998b81b486cf39f8d86 (patch)
tree979a5f5e4d7272f550f21aa9c66b6a6b84149ad5
parent549b9d2e9f1547af3fb061a7956b04fb30870a6d (diff)
swr: [rasterizer codegen] add cmdline to archrast gen files
Reviewed-by: George Kyriazis <[email protected]>
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py4
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp3
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp3
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp5
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp5
5 files changed, 18 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py
index efe42bb8dbf..06a3dea4ad9 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py
+++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_archrast.py
@@ -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)
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp
index b743b2f3d2d..d48fda61c2a 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.cpp
@@ -26,6 +26,9 @@
*
* DO NOT EDIT
*
+* Generation Command Line:
+* ${'\n* '.join(cmdline)}
+*
******************************************************************************/
#include "common/os.h"
#include "gen_ar_event.hpp"
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp
index 68926ea8053..e792f5f63e6 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_event.hpp
@@ -25,6 +25,9 @@
* @brief Definitions for events. auto-generated file
*
* DO NOT EDIT
+*
+* Generation Command Line:
+* ${'\n* '.join(cmdline)}
*
******************************************************************************/
#pragma once
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp
index cfed2aded0c..87d0ef47cab 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandler.hpp
@@ -25,7 +25,10 @@
* @brief Event handler interface. auto-generated file
*
* DO NOT EDIT
-*
+*
+* Generation Command Line:
+* ${'\n* '.join(cmdline)}
+*
******************************************************************************/
#pragma once
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
index 48ff0b0a958..3a618a124de 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
@@ -25,7 +25,10 @@
* @brief Event handler interface. auto-generated file
*
* DO NOT EDIT
-*
+*
+* Generation Command Line:
+* ${'\n* '.join(cmdline)}
+*
******************************************************************************/
#pragma once