diff options
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/codegen/gen_common.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py index 44a0cc88e36..60b749d3abc 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py @@ -32,6 +32,12 @@ from mako.template import Template from mako.exceptions import RichTraceback #============================================================================== +def ConcatLists(list_of_lists): + output = [] + for l in list_of_lists: output += l + return output + +#============================================================================== def MakeTmpDir(suffix=''): ''' Create temporary directory for use in codegen scripts. |