mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-24 23:26:50 +00:00
Remove unneeded debug bool
This commit is contained in:
@@ -346,8 +346,6 @@ UINT GetRootParameterCount(ID3D12RootSignature* pRootSignature)
|
||||
VALIDATE_HOOK(hkSetComputeRootSignature, PFN_SetComputeRootSignature)
|
||||
static void hkSetComputeRootSignature(ID3D12GraphicsCommandList* commandList, ID3D12RootSignature* pRootSignature)
|
||||
{
|
||||
bool tracking = false;
|
||||
|
||||
if (!lateInProgressSetComputeRootSignature && Config::Instance()->RestoreComputeSignature.value_or_default() &&
|
||||
!isUpscalerActive && commandList != nullptr && pRootSignature != nullptr)
|
||||
{
|
||||
@@ -359,8 +357,6 @@ static void hkSetComputeRootSignature(ID3D12GraphicsCommandList* commandList, ID
|
||||
|
||||
std::unique_lock<std::shared_mutex> lock(s_SetComputeRootSignature.mutex);
|
||||
computeSignatures.insert_or_assign(commandList, pRootSignature);
|
||||
|
||||
tracking = true;
|
||||
}
|
||||
|
||||
s_SetComputeRootSignature.o_earlyHook(commandList, pRootSignature);
|
||||
|
||||
Reference in New Issue
Block a user