From 24ff24dfd2b9fe2695b7cb7d082f9aa3d519fb65 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Wed, 2 Apr 2025 22:02:15 +0200 Subject: [PATCH] Removed some helper comments --- Upscaler.h | 2 +- UpscalerGraphicsDevice.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Upscaler.h b/Upscaler.h index 6966b46..bd3bf84 100644 --- a/Upscaler.h +++ b/Upscaler.h @@ -7,7 +7,7 @@ class Upscaler { public: - virtual bool Init() = 0; // Called by AMDUP_InitAPI, does FidelityFX library loading + virtual bool Init() = 0; virtual void Shutdown() = 0; virtual uint32_t CreateFeatureSlot() = 0; diff --git a/UpscalerGraphicsDevice.h b/UpscalerGraphicsDevice.h index 07f3c65..d36f612 100644 --- a/UpscalerGraphicsDevice.h +++ b/UpscalerGraphicsDevice.h @@ -10,7 +10,6 @@ template class UpscalerGraphicsDevice: public Upscaler public: void Shutdown() override { - // Called by AMDUP_ShutdownAPI, destroys all features, cleans up internal resources size_t numFeatures = 0; { std::lock_guard lock(m_Mutex); @@ -37,7 +36,6 @@ public: { std::lock_guard lock(m_Mutex); - // Called by FSR3PluginEvent::eInit event if (initData->featureSlot < 0 || initData->featureSlot >= m_Features.size()) return false; @@ -47,7 +45,6 @@ public: void DestroyFeature(uint32_t featureSlot) override { - // Called by FSR3PluginEvent::eDestroyFeature event and Shutdown uint64_t dispatchFrameValue = 0; { // We need to lock the features list while we're accessing it, but we also can't hold the lock while blocking the main/render thread at the same time. @@ -96,7 +93,6 @@ public: { std::lock_guard lock(m_Mutex); - // Called by FSR3PluginEvent::eExecute event if (execData->featureSlot < 0 || execData->featureSlot >= m_Features.size()) return; @@ -111,7 +107,6 @@ public: { std::lock_guard lock(m_Mutex); - // Called by FSR3PluginEvent::ePostExecute event if (execData->featureSlot < 0 || execData->featureSlot >= m_Features.size()) return;