aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/scripts
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-06-14 17:02:11 -0600
committerTim Rowley <[email protected]>2016-06-23 10:51:06 -0500
commit73a9154bdef807330ec3d75a79610532e33edb75 (patch)
treeb25db6079ac413dab179b5144255165e8ec6f124 /src/gallium/drivers/swr/rasterizer/scripts
parentdd189536dc012dc793e9aa666514106cb6d93914 (diff)
swr: [rasterizer core] use wrap-around safe compares for dependency checking
Move drawIDs from 64-bit to 32-bit to increase perf. Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/scripts')
-rw-r--r--src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
index ab6ec565804..56c3144bfa6 100644
--- a/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
+++ b/src/gallium/drivers/swr/rasterizer/scripts/knob_defs.py
@@ -133,8 +133,9 @@ KNOBS = [
['MAX_DRAWS_IN_FLIGHT', {
'type' : 'uint32_t',
- 'default' : '96',
- 'desc' : ['Maximum number of draws outstanding before API thread blocks.'],
+ 'default' : '128',
+ 'desc' : ['Maximum number of draws outstanding before API thread blocks.',
+ 'This value MUST be evenly divisible into 2^32'],
'category' : 'perf',
}],