1
# Copyright (C) 2014-2016 Intel Corporation. All Rights Reserved.
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the "Software"),
5 # to deal in the Software without restriction, including without limitation
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 # and/or sell copies of the Software, and to permit persons to whom the
8 # Software is furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice (including the next
11 # paragraph) shall be included in all copies or substantial portions of the
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
25 ['ENABLE_ASSERT_DIALOGS', {
28 'desc' : ['Use dialogs when asserts fire.',
29 'Asserts are only enabled in debug builds'],
36 'desc' : ['If enabled will perform all rendering on the API thread.',
37 'This is useful mainly for debugging purposes.'],
44 'desc' : ['Dumps shader LLVM IR at various stages of jit compilation.'],
48 ['USE_GENERIC_STORETILE', {
51 'desc' : ['Always use generic function for performing StoreTile.',
52 'Will be slightly slower than using optimized (jitted) path'],
59 'desc' : ['Replace 3D primitive execute with a SWRClearRT operation and',
60 'defer clear execution to first backend op on hottile, or hottile store'],
67 'desc' : ['Maximum # of NUMA-nodes per system used for worker threads',
68 ' 0 == ALL NUMA-nodes in the system',
69 ' N == Use at most N NUMA-nodes for rendering'],
73 ['MAX_CORES_PER_NUMA_NODE', {
76 'desc' : ['Maximum # of cores per NUMA-node used for worker threads.',
77 ' 0 == ALL non-API thread cores per NUMA-node',
78 ' N == Use at most N cores per NUMA-node'],
82 ['MAX_THREADS_PER_CORE', {
85 'desc' : ['Maximum # of (hyper)threads per physical core used for worker threads.',
86 ' 0 == ALL hyper-threads per core',
87 ' N == Use at most N hyper-threads per physical core'],
91 ['MAX_WORKER_THREADS', {
94 'desc' : ['Maximum worker threads to spawn.',
96 'IMPORTANT: If this is non-zero, no worker threads will be bound to',
97 'specific HW threads. They will all be "floating" SW threads.',
98 'In this case, the above 3 KNOBS will be ignored.'],
102 ['BUCKETS_START_FRAME', {
105 'desc' : ['Frame from when to start saving buckets data.',
107 'NOTE: KNOB_ENABLE_RDTSC must be enabled in core/knobs.h',
108 'for this to have an effect.'],
112 ['BUCKETS_END_FRAME', {
115 'desc' : ['Frame at which to stop saving buckets data.',
117 'NOTE: KNOB_ENABLE_RDTSC must be enabled in core/knobs.h',
118 'for this to have an effect.'],
122 ['WORKER_SPIN_LOOP_COUNT', {
125 'desc' : ['Number of spin-loop iterations worker threads will perform',
126 'before going to sleep when waiting for work'],
130 ['MAX_DRAWS_IN_FLIGHT', {
133 'desc' : ['Maximum number of draws outstanding before API thread blocks.',
134 'This value MUST be evenly divisible into 2^32'],
138 ['MAX_PRIMS_PER_DRAW', {
141 'desc' : ['Maximum primitives in a single Draw().',
142 'Larger primitives are split into smaller Draw calls.',
143 'Should be a multiple of (3 * vectorWidth).'],
147 ['MAX_TESS_PRIMS_PER_DRAW', {
150 'desc' : ['Maximum primitives in a single Draw() with tessellation enabled.',
151 'Larger primitives are split into smaller Draw calls.',
152 'Should be a multiple of (vectorWidth).'],
160 'desc' : ['Disable per-draw/dispatch execution'],
167 'desc' : ['Stop per-draw execution at worker FE',
169 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
177 'desc' : ['Stop per-draw execution at vertex fetch',
179 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
187 'desc' : ['Stop per-draw execution at input assembler',
189 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
197 'desc' : ['Stop per-draw execution at vertex shader',
199 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
204 ['TOSS_SETUP_TRIS', {
207 'desc' : ['Stop per-draw execution at primitive setup',
209 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
217 'desc' : ['Stop per-draw execution at primitive binning',
219 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],
227 'desc' : ['Stop per-draw execution at rasterizer',
229 'NOTE: Requires KNOB_ENABLE_TOSS_POINTS to be enabled in core/knobs.h'],