swr: [rasterizer core/scripts] Autogen backend initialization function(s)
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 15 Feb 2017 21:45:16 +0000 (13:45 -0800)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 20 Mar 2017 23:04:53 +0000 (18:04 -0500)
commitd2759c1eb3b77e9d86c52f2f8e6471a8f339228d
tree38793cbf1e9ca417ab5ac5a2b424363994c07641
parent2c820d22cf703692b5de66289a0c81d7555aa9d6
swr: [rasterizer core/scripts] Autogen backend initialization function(s)

Autogen functions that instantiates different BackendPixelRate templates.
Functions get split into separate files after reaching a user defined
threshold (currently 512 per file) to speed up compilation.

This change will enable the addition of more template flags in the pixel
back end.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/.gitignore
src/gallium/drivers/swr/Makefile.am
src/gallium/drivers/swr/SConscript
src/gallium/drivers/swr/rasterizer/core/backend.cpp
src/gallium/drivers/swr/rasterizer/core/backend.h
src/gallium/drivers/swr/rasterizer/scripts/gen_backends.py [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/scripts/templates/backend_template.cpp [new file with mode: 0644]