diff options
author | George Kyriazis <[email protected]> | 2018-02-27 15:29:52 -0600 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-03-09 09:36:30 -0600 |
commit | 3f7ce10b3eca0f3c3dbd01c76c35d1af8627664d (patch) | |
tree | 4ee6d891ef96d9a8009f1a5a1ae438e93ed47ee3 /src/gallium/drivers/swr/rasterizer/codegen | |
parent | e0a4a258297b12cb5c6ee4bb57d4372ecf85367e (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/codegen')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py b/src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py index 2c6946b063f..d4bf1930a0f 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/knob_defs.py @@ -270,4 +270,14 @@ KNOBS = [ 'category' : 'perf_adv', }], + ['DISABLE_SPLIT_DRAW', { + 'type' : 'bool', + 'default' : 'false', + 'desc' : ['Don\'t split large draws into smaller draws.,', + 'MAX_PRIMS_PER_DRAW and MAX_TESS_PRIMS_PER_DRAW can be used to control split size.', + '', + 'Useful to disable split draws for gathering archrast stats.'], + 'category' : 'perf_adv', + }], + ] |