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:
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user