swr/rast: Add KNOB_DISABLE_SPLIT_DRAW
authorGeorge Kyriazis <george.kyriazis@intel.com>
Tue, 27 Feb 2018 21:29:52 +0000 (15:29 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 9 Mar 2018 15:36:30 +0000 (09:36 -0600)
commit3f7ce10b3eca0f3c3dbd01c76c35d1af8627664d
tree4ee6d891ef96d9a8009f1a5a1ae438e93ed47ee3
parente0a4a258297b12cb5c6ee4bb57d4372ecf85367e
swr/rast: Add KNOB_DISABLE_SPLIT_DRAW

This is useful for archrast data collection. This greatly speeds up the
post processing script since there is significantly less events generated.

Finally, this is a simpler option to communicate to users than having
them directly adjust MAX_PRIMS_PER_DRAW and MAX_TESS_PRIMS_PER_DRAW.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py
src/gallium/drivers/swr/rasterizer/core/api.cpp