swr/rast: split gen_knobs templates into .h/.cpp
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 31 Jul 2017 22:22:12 +0000 (17:22 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 2 Aug 2017 16:39:33 +0000 (11:39 -0500)
commit844be91e70413c1c3871d5f93b1e4766eb495df9
tree0a514b2f6a91d9735e5d042bcd27b78d64fe5636
parent4c5b4f3f78381d8f2e3111f812609715f7d1c81c
swr/rast: split gen_knobs templates into .h/.cpp

Switch to a 1:1 mapping template:generated for future maintenance.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/Makefile.am
src/gallium/drivers/swr/SConscript
src/gallium/drivers/swr/rasterizer/codegen/gen_knobs.py
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_knobs.cpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_knobs.h [new file with mode: 0644]