Remove unneeded debug bool

This commit is contained in:
FakeMichau
2026-06-12 15:29:44 +02:00
parent 718e0b4536
commit 2fc264382e
-4
View File
@@ -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);