Replace incorrect usages of LOG_DEBUG() with LOG_FUNC()

Replaced usages of LOG_DEBUG() without arguments with LOG_FUNC() where appropriate.
This commit is contained in:
Zach Hembree
2026-02-02 09:34:48 -05:00
parent 14f5b9107e
commit 774c3a2fd5
14 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>$(ProjectDir);$(ProjectDir)include\;$(SolutionDir)external\vulkan\include;$(SolutionDir)external\nvngx_dlss_sdk;$(SolutionDir)external\xess\inc\xess;$(SolutionDir)external\xess\inc\xell;$(SolutionDir)external\xess\inc\xess_fg;$(SolutionDir)external\FidelityFX-SDK\ffx-api\include\ffx_api;$(SolutionDir)external\simpleini;$(SolutionDir)external\unordered_dense\include;$(SolutionDir)external\spdlog\include;$(SolutionDir)external\freetype;$(SolutionDir)external\streamline;$(SolutionDir)external\streamline1;$(SolutionDir)external\nvapi;$(SolutionDir)external\nlohmann;$(SolutionDir)external\fakenvapi;$(SolutionDir)external\magic_enum\include\magic_enum;$(IncludePath)</IncludePath>
<LibraryPath>$(ProjectDir)library\fsr2;$(ProjectDir)library\fsr2_212;$(ProjectDir)library\fsr31;$(ProjectDir)library\vulkan;$(ProjectDir)library\d3dx;$(ProjectDir)library\detours;$(SolutionDir)external\xess\lib;$(SolutionDir)external\freetype;$(LibraryPath)</LibraryPath>
<IntDir>.\x64\Debug</IntDir>
<IntDir>.\x64\Debug\</IntDir>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+1 -1
View File
@@ -282,7 +282,7 @@ static void fgLogCallback(uint32_t type, const wchar_t* message)
bool FSRFG_Dx12::Dispatch()
{
LOG_DEBUG();
LOG_FUNC();
if (_fgContext == nullptr)
{
+1 -1
View File
@@ -619,7 +619,7 @@ bool XeFG_Dx12::Shutdown()
bool XeFG_Dx12::Dispatch()
{
LOG_DEBUG();
LOG_FUNC();
UINT64 willDispatchFrame = 0;
auto fIndex = GetDispatchIndex(willDispatchFrame);
+1 -1
View File
@@ -923,7 +923,7 @@ static void HookToDevice(ID3D12Device* InDevice)
static void UnhookDevice()
{
LOG_DEBUG();
LOG_FUNC();
DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
+1 -1
View File
@@ -42,7 +42,7 @@ void DxgiFactoryHooks::HookToFactory(IDXGIFactory* pFactory)
if (pFactory == nullptr)
return;
LOG_DEBUG();
LOG_FUNC();
IDXGIFactory* real = nullptr;
if (!Util::CheckForRealObject(__FUNCTION__, pFactory, (IUnknown**) &real))
+1 -1
View File
@@ -567,7 +567,7 @@ std::optional<NTSTATUS> LibraryLoadHooks::FreeLibrary(PVOID lpLibrary)
HMODULE LibraryLoadHooks::LoadNvApi()
{
LOG_DEBUG();
LOG_FUNC();
HMODULE nvapi = nullptr;
+1 -1
View File
@@ -159,7 +159,7 @@ class NtdllHooks
public:
static void Hook()
{
LOG_DEBUG();
LOG_FUNC();
if (!Config::Instance()->UseNtdllHooks.value_or_default())
return;
+1 -1
View File
@@ -459,7 +459,7 @@ static Fsr3::FfxErrorCode hkffxGetFrameinterpolationCommandlistDX12(Fsr3::FfxSwa
static Fsr3::FfxResource hkffxGetFrameinterpolationTextureDX12(Fsr3::FfxSwapchain gameSwapChain)
{
LOG_DEBUG();
LOG_FUNC();
auto fg = State::Instance().currentFG;
+1 -1
View File
@@ -761,7 +761,7 @@ ffxReturnCode_t ffxQuery_Dx12FG(ffxContext* context, ffxQueryDescHeader* desc)
return PASSTHRU_RETURN_CODE;
#endif
LOG_DEBUG();
LOG_FUNC();
if (desc->type == FFX_API_QUERY_DESC_TYPE_FRAMEGENERATION_GPU_MEMORY_USAGE)
{
@@ -257,7 +257,7 @@ bool Sl_Inputs_Dx12::evaluateState(ID3D12Device* device)
if (fgOutput == nullptr)
return false;
LOG_DEBUG();
LOG_FUNC();
static UINT64 lastFrameCount = 0;
static UINT64 repeatsInRow = 0;
@@ -426,7 +426,7 @@ bool Sl_Inputs_Dx12::reportResource(const sl::ResourceTag& tag, ID3D12GraphicsCo
bool Sl_Inputs_Dx12::dispatchFG()
{
LOG_DEBUG();
LOG_FUNC();
return true;
}
+3 -3
View File
@@ -398,7 +398,7 @@ xess_result_t hk_xessVKGetResourcesToDump(xess_context_handle_t hContext,
xess_result_t hk_xessVKGetRequiredInstanceExtensions(uint32_t* instanceExtensionsCount,
const char* const** instanceExtensions, uint32_t* minVkApiVersion)
{
LOG_DEBUG();
LOG_FUNC();
ScopedSkipSpoofing skipSpoofing {};
@@ -412,7 +412,7 @@ xess_result_t hk_xessVKGetRequiredDeviceExtensions(VkInstance instance, VkPhysic
uint32_t* deviceExtensionsCount,
const char* const** deviceExtensions)
{
LOG_DEBUG();
LOG_FUNC();
ScopedSkipSpoofing skipSpoofing {};
@@ -424,7 +424,7 @@ xess_result_t hk_xessVKGetRequiredDeviceExtensions(VkInstance instance, VkPhysic
xess_result_t hk_xessVKGetRequiredDeviceFeatures(VkInstance instance, VkPhysicalDevice physicalDevice, void** features)
{
LOG_DEBUG();
LOG_FUNC();
ScopedSkipSpoofing skipSpoofing {};
@@ -1720,7 +1720,7 @@ void ResTrack_Dx12::hkDrawIndexedInstanced(ID3D12GraphicsCommandList* This, UINT
void ResTrack_Dx12::hkExecuteBundle(ID3D12GraphicsCommandList* This, ID3D12GraphicsCommandList* pCommandList)
{
LOG_WARN();
LOG_FUNC();
IFGFeature_Dx12* fg = State::Instance().currentFG;
auto index = fg != nullptr ? fg->GetIndex() : 0;
+1 -1
View File
@@ -28,7 +28,7 @@ OS_Vk::OS_Vk(std::string InName, VkDevice InDevice, VkPhysicalDevice InPhysicalD
return;
}
LOG_DEBUG();
LOG_FUNC();
VkSamplerCreateInfo samplerInfo {};
samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO;
+1 -1
View File
@@ -12,7 +12,7 @@ RCAS_Vk::RCAS_Vk(std::string InName, VkDevice InDevice, VkPhysicalDevice InPhysi
return;
}
LOG_DEBUG();
LOG_FUNC();
CreateDescriptorSetLayout();
CreateConstantBuffer();