Atom CPU threading optimization (#5481)

* Small change to make the RasterPass Scope jobs split the work more evenly over the cores

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Update with PR feedback. Remove scale of EstimatedItemCount, modify the command list cost threshold instead

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
This commit is contained in:
rgba16f
2021-11-10 14:08:55 -06:00
committed by GitHub
parent 61d0ec9d6b
commit cebf6e2de3
3 changed files with 3 additions and 3 deletions
@@ -40,7 +40,7 @@ namespace AZ
uint32_t m_swapChainsPerCommandList = 8;
// The maximum cost that can be associated with a single command list.
uint32_t m_commandListCostThresholdMin = 1000;
uint32_t m_commandListCostThresholdMin = 250;
// The maximum number of command lists per scope.
uint32_t m_commandListsPerScopeMax = 16;
@@ -31,7 +31,7 @@ namespace AZ
uint32_t m_swapChainsPerCommandList = 8;
// The maximum cost that can be associated with a single command list.
uint32_t m_commandListCostThresholdMin = 1000;
uint32_t m_commandListCostThresholdMin = 250;
// The maximum number of command lists per scope.
uint32_t m_commandListsPerScopeMax = 16;
@@ -33,7 +33,7 @@ namespace AZ
uint32_t m_swapChainsPerCommandList = 8;
// The maximum cost that can be associated with a single command list.
uint32_t m_commandListCostThresholdMin = 1000;
uint32_t m_commandListCostThresholdMin = 250;
// The maximum number of command lists per scope.
uint32_t m_commandListsPerScopeMax = 16;