From 5cff14c48b80ec46eb33f8e7b39a4647bf395833 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Wed, 2 Apr 2025 22:26:25 +0200 Subject: [PATCH] Moved source files into "src" directory and external headers into "include" directory --- FSR3UnityPlugin.vcxproj | 26 +++++++++---------- FSR3UnityPlugin.vcxproj.filters | 22 ++++++++-------- .../UnityPluginAPI}/IUnityGraphics.h | 0 .../UnityPluginAPI}/IUnityGraphicsD3D11.h | 0 .../UnityPluginAPI}/IUnityGraphicsD3D12.h | 0 .../UnityPluginAPI}/IUnityGraphicsVulkan.h | 0 .../UnityPluginAPI}/IUnityInterface.h | 0 .../UnityPluginAPI}/IUnityLog.h | 0 .../IUnityRenderingExtensions.h | 0 .../ffx-fsr2-api}/dx11/ffx_fsr2_dx11.h | 0 .../ffx-fsr2-api}/ffx_assert.h | 0 .../ffx-fsr2-api}/ffx_error.h | 0 .../ffx-fsr2-api}/ffx_fsr2.h | 0 .../ffx-fsr2-api}/ffx_fsr2_interface.h | 0 .../ffx-fsr2-api}/ffx_fsr2_maximum_bias.h | 0 .../ffx-fsr2-api}/ffx_fsr2_private.h | 0 .../ffx-fsr2-api}/ffx_types.h | 0 .../ffx-fsr2-api}/ffx_util.h | 0 .../ffx-fsr2-api}/shaders/ffx_fsr2_common.h | 0 .../shaders/ffx_fsr2_resources.h | 0 .../ffx_api}/dx12/ffx_api_dx12.h | 0 .../ffx_api}/dx12/ffx_api_dx12.hpp | 0 {ffx_api => include/ffx_api}/ffx_api.h | 0 {ffx_api => include/ffx_api}/ffx_api.hpp | 0 {ffx_api => include/ffx_api}/ffx_api_loader.h | 0 {ffx_api => include/ffx_api}/ffx_api_types.h | 0 .../ffx_api}/ffx_framegeneration.h | 0 .../ffx_api}/ffx_framegeneration.hpp | 0 {ffx_api => include/ffx_api}/ffx_upscale.h | 0 {ffx_api => include/ffx_api}/ffx_upscale.hpp | 0 {ffx_api => include/ffx_api}/vk/ffx_api_vk.h | 0 .../ffx_api}/vk/ffx_api_vk.hpp | 0 .../FSR2Upscaler_DX11.cpp | 0 .../FSR2Upscaler_DX11.h | 0 .../FSR3UnityPlugin.cpp | 0 FSR3UnityTypes.h => src/FSR3UnityTypes.h | 0 .../FSR3Upscaler_DX12.cpp | 0 .../FSR3Upscaler_DX12.h | 0 .../FSR3Upscaler_FFXBase.h | 0 .../FSR3Upscaler_Vulkan.cpp | 0 .../FSR3Upscaler_Vulkan.h | 0 Upscaler.h => src/Upscaler.h | 0 .../UpscalerGraphicsDevice.h | 0 43 files changed, 24 insertions(+), 24 deletions(-) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityGraphics.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityGraphicsD3D11.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityGraphicsD3D12.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityGraphicsVulkan.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityInterface.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityLog.h (100%) rename {UnityPluginAPI => include/UnityPluginAPI}/IUnityRenderingExtensions.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/dx11/ffx_fsr2_dx11.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_assert.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_error.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_fsr2.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_fsr2_interface.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_fsr2_maximum_bias.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_fsr2_private.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_types.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/ffx_util.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/shaders/ffx_fsr2_common.h (100%) rename {ffx-fsr2-api => include/ffx-fsr2-api}/shaders/ffx_fsr2_resources.h (100%) rename {ffx_api => include/ffx_api}/dx12/ffx_api_dx12.h (100%) rename {ffx_api => include/ffx_api}/dx12/ffx_api_dx12.hpp (100%) rename {ffx_api => include/ffx_api}/ffx_api.h (100%) rename {ffx_api => include/ffx_api}/ffx_api.hpp (100%) rename {ffx_api => include/ffx_api}/ffx_api_loader.h (100%) rename {ffx_api => include/ffx_api}/ffx_api_types.h (100%) rename {ffx_api => include/ffx_api}/ffx_framegeneration.h (100%) rename {ffx_api => include/ffx_api}/ffx_framegeneration.hpp (100%) rename {ffx_api => include/ffx_api}/ffx_upscale.h (100%) rename {ffx_api => include/ffx_api}/ffx_upscale.hpp (100%) rename {ffx_api => include/ffx_api}/vk/ffx_api_vk.h (100%) rename {ffx_api => include/ffx_api}/vk/ffx_api_vk.hpp (100%) rename FSR2Upscaler_DX11.cpp => src/FSR2Upscaler_DX11.cpp (100%) rename FSR2Upscaler_DX11.h => src/FSR2Upscaler_DX11.h (100%) rename FSR3UnityPlugin.cpp => src/FSR3UnityPlugin.cpp (100%) rename FSR3UnityTypes.h => src/FSR3UnityTypes.h (100%) rename FSR3Upscaler_DX12.cpp => src/FSR3Upscaler_DX12.cpp (100%) rename FSR3Upscaler_DX12.h => src/FSR3Upscaler_DX12.h (100%) rename FSR3Upscaler_FFXBase.h => src/FSR3Upscaler_FFXBase.h (100%) rename FSR3Upscaler_Vulkan.cpp => src/FSR3Upscaler_Vulkan.cpp (100%) rename FSR3Upscaler_Vulkan.h => src/FSR3Upscaler_Vulkan.h (100%) rename Upscaler.h => src/Upscaler.h (100%) rename UpscalerGraphicsDevice.h => src/UpscalerGraphicsDevice.h (100%) diff --git a/FSR3UnityPlugin.vcxproj b/FSR3UnityPlugin.vcxproj index 0205df6..466d08b 100644 --- a/FSR3UnityPlugin.vcxproj +++ b/FSR3UnityPlugin.vcxproj @@ -118,7 +118,7 @@ true NotUsing pch.h - %VULKAN_SDK%\Include;%(AdditionalIncludeDirectories) + $(SolutionDir)\include;%VULKAN_SDK%\Include;%(AdditionalIncludeDirectories) Windows @@ -138,7 +138,7 @@ true NotUsing pch.h - %VULKAN_SDK%\Include;%(AdditionalIncludeDirectories) + $(SolutionDir)\include;%VULKAN_SDK%\Include;%(AdditionalIncludeDirectories) Windows @@ -151,19 +151,19 @@ - - - - + + + + - - - - - - - + + + + + + + diff --git a/FSR3UnityPlugin.vcxproj.filters b/FSR3UnityPlugin.vcxproj.filters index 20b128b..fadcbc3 100644 --- a/FSR3UnityPlugin.vcxproj.filters +++ b/FSR3UnityPlugin.vcxproj.filters @@ -15,39 +15,39 @@ - + Source Files - + Source Files - + Source Files - + Source Files - + Header Files - + Header Files - + Header Files - + Header Files - + Header Files - + Header Files - + Header Files diff --git a/UnityPluginAPI/IUnityGraphics.h b/include/UnityPluginAPI/IUnityGraphics.h similarity index 100% rename from UnityPluginAPI/IUnityGraphics.h rename to include/UnityPluginAPI/IUnityGraphics.h diff --git a/UnityPluginAPI/IUnityGraphicsD3D11.h b/include/UnityPluginAPI/IUnityGraphicsD3D11.h similarity index 100% rename from UnityPluginAPI/IUnityGraphicsD3D11.h rename to include/UnityPluginAPI/IUnityGraphicsD3D11.h diff --git a/UnityPluginAPI/IUnityGraphicsD3D12.h b/include/UnityPluginAPI/IUnityGraphicsD3D12.h similarity index 100% rename from UnityPluginAPI/IUnityGraphicsD3D12.h rename to include/UnityPluginAPI/IUnityGraphicsD3D12.h diff --git a/UnityPluginAPI/IUnityGraphicsVulkan.h b/include/UnityPluginAPI/IUnityGraphicsVulkan.h similarity index 100% rename from UnityPluginAPI/IUnityGraphicsVulkan.h rename to include/UnityPluginAPI/IUnityGraphicsVulkan.h diff --git a/UnityPluginAPI/IUnityInterface.h b/include/UnityPluginAPI/IUnityInterface.h similarity index 100% rename from UnityPluginAPI/IUnityInterface.h rename to include/UnityPluginAPI/IUnityInterface.h diff --git a/UnityPluginAPI/IUnityLog.h b/include/UnityPluginAPI/IUnityLog.h similarity index 100% rename from UnityPluginAPI/IUnityLog.h rename to include/UnityPluginAPI/IUnityLog.h diff --git a/UnityPluginAPI/IUnityRenderingExtensions.h b/include/UnityPluginAPI/IUnityRenderingExtensions.h similarity index 100% rename from UnityPluginAPI/IUnityRenderingExtensions.h rename to include/UnityPluginAPI/IUnityRenderingExtensions.h diff --git a/ffx-fsr2-api/dx11/ffx_fsr2_dx11.h b/include/ffx-fsr2-api/dx11/ffx_fsr2_dx11.h similarity index 100% rename from ffx-fsr2-api/dx11/ffx_fsr2_dx11.h rename to include/ffx-fsr2-api/dx11/ffx_fsr2_dx11.h diff --git a/ffx-fsr2-api/ffx_assert.h b/include/ffx-fsr2-api/ffx_assert.h similarity index 100% rename from ffx-fsr2-api/ffx_assert.h rename to include/ffx-fsr2-api/ffx_assert.h diff --git a/ffx-fsr2-api/ffx_error.h b/include/ffx-fsr2-api/ffx_error.h similarity index 100% rename from ffx-fsr2-api/ffx_error.h rename to include/ffx-fsr2-api/ffx_error.h diff --git a/ffx-fsr2-api/ffx_fsr2.h b/include/ffx-fsr2-api/ffx_fsr2.h similarity index 100% rename from ffx-fsr2-api/ffx_fsr2.h rename to include/ffx-fsr2-api/ffx_fsr2.h diff --git a/ffx-fsr2-api/ffx_fsr2_interface.h b/include/ffx-fsr2-api/ffx_fsr2_interface.h similarity index 100% rename from ffx-fsr2-api/ffx_fsr2_interface.h rename to include/ffx-fsr2-api/ffx_fsr2_interface.h diff --git a/ffx-fsr2-api/ffx_fsr2_maximum_bias.h b/include/ffx-fsr2-api/ffx_fsr2_maximum_bias.h similarity index 100% rename from ffx-fsr2-api/ffx_fsr2_maximum_bias.h rename to include/ffx-fsr2-api/ffx_fsr2_maximum_bias.h diff --git a/ffx-fsr2-api/ffx_fsr2_private.h b/include/ffx-fsr2-api/ffx_fsr2_private.h similarity index 100% rename from ffx-fsr2-api/ffx_fsr2_private.h rename to include/ffx-fsr2-api/ffx_fsr2_private.h diff --git a/ffx-fsr2-api/ffx_types.h b/include/ffx-fsr2-api/ffx_types.h similarity index 100% rename from ffx-fsr2-api/ffx_types.h rename to include/ffx-fsr2-api/ffx_types.h diff --git a/ffx-fsr2-api/ffx_util.h b/include/ffx-fsr2-api/ffx_util.h similarity index 100% rename from ffx-fsr2-api/ffx_util.h rename to include/ffx-fsr2-api/ffx_util.h diff --git a/ffx-fsr2-api/shaders/ffx_fsr2_common.h b/include/ffx-fsr2-api/shaders/ffx_fsr2_common.h similarity index 100% rename from ffx-fsr2-api/shaders/ffx_fsr2_common.h rename to include/ffx-fsr2-api/shaders/ffx_fsr2_common.h diff --git a/ffx-fsr2-api/shaders/ffx_fsr2_resources.h b/include/ffx-fsr2-api/shaders/ffx_fsr2_resources.h similarity index 100% rename from ffx-fsr2-api/shaders/ffx_fsr2_resources.h rename to include/ffx-fsr2-api/shaders/ffx_fsr2_resources.h diff --git a/ffx_api/dx12/ffx_api_dx12.h b/include/ffx_api/dx12/ffx_api_dx12.h similarity index 100% rename from ffx_api/dx12/ffx_api_dx12.h rename to include/ffx_api/dx12/ffx_api_dx12.h diff --git a/ffx_api/dx12/ffx_api_dx12.hpp b/include/ffx_api/dx12/ffx_api_dx12.hpp similarity index 100% rename from ffx_api/dx12/ffx_api_dx12.hpp rename to include/ffx_api/dx12/ffx_api_dx12.hpp diff --git a/ffx_api/ffx_api.h b/include/ffx_api/ffx_api.h similarity index 100% rename from ffx_api/ffx_api.h rename to include/ffx_api/ffx_api.h diff --git a/ffx_api/ffx_api.hpp b/include/ffx_api/ffx_api.hpp similarity index 100% rename from ffx_api/ffx_api.hpp rename to include/ffx_api/ffx_api.hpp diff --git a/ffx_api/ffx_api_loader.h b/include/ffx_api/ffx_api_loader.h similarity index 100% rename from ffx_api/ffx_api_loader.h rename to include/ffx_api/ffx_api_loader.h diff --git a/ffx_api/ffx_api_types.h b/include/ffx_api/ffx_api_types.h similarity index 100% rename from ffx_api/ffx_api_types.h rename to include/ffx_api/ffx_api_types.h diff --git a/ffx_api/ffx_framegeneration.h b/include/ffx_api/ffx_framegeneration.h similarity index 100% rename from ffx_api/ffx_framegeneration.h rename to include/ffx_api/ffx_framegeneration.h diff --git a/ffx_api/ffx_framegeneration.hpp b/include/ffx_api/ffx_framegeneration.hpp similarity index 100% rename from ffx_api/ffx_framegeneration.hpp rename to include/ffx_api/ffx_framegeneration.hpp diff --git a/ffx_api/ffx_upscale.h b/include/ffx_api/ffx_upscale.h similarity index 100% rename from ffx_api/ffx_upscale.h rename to include/ffx_api/ffx_upscale.h diff --git a/ffx_api/ffx_upscale.hpp b/include/ffx_api/ffx_upscale.hpp similarity index 100% rename from ffx_api/ffx_upscale.hpp rename to include/ffx_api/ffx_upscale.hpp diff --git a/ffx_api/vk/ffx_api_vk.h b/include/ffx_api/vk/ffx_api_vk.h similarity index 100% rename from ffx_api/vk/ffx_api_vk.h rename to include/ffx_api/vk/ffx_api_vk.h diff --git a/ffx_api/vk/ffx_api_vk.hpp b/include/ffx_api/vk/ffx_api_vk.hpp similarity index 100% rename from ffx_api/vk/ffx_api_vk.hpp rename to include/ffx_api/vk/ffx_api_vk.hpp diff --git a/FSR2Upscaler_DX11.cpp b/src/FSR2Upscaler_DX11.cpp similarity index 100% rename from FSR2Upscaler_DX11.cpp rename to src/FSR2Upscaler_DX11.cpp diff --git a/FSR2Upscaler_DX11.h b/src/FSR2Upscaler_DX11.h similarity index 100% rename from FSR2Upscaler_DX11.h rename to src/FSR2Upscaler_DX11.h diff --git a/FSR3UnityPlugin.cpp b/src/FSR3UnityPlugin.cpp similarity index 100% rename from FSR3UnityPlugin.cpp rename to src/FSR3UnityPlugin.cpp diff --git a/FSR3UnityTypes.h b/src/FSR3UnityTypes.h similarity index 100% rename from FSR3UnityTypes.h rename to src/FSR3UnityTypes.h diff --git a/FSR3Upscaler_DX12.cpp b/src/FSR3Upscaler_DX12.cpp similarity index 100% rename from FSR3Upscaler_DX12.cpp rename to src/FSR3Upscaler_DX12.cpp diff --git a/FSR3Upscaler_DX12.h b/src/FSR3Upscaler_DX12.h similarity index 100% rename from FSR3Upscaler_DX12.h rename to src/FSR3Upscaler_DX12.h diff --git a/FSR3Upscaler_FFXBase.h b/src/FSR3Upscaler_FFXBase.h similarity index 100% rename from FSR3Upscaler_FFXBase.h rename to src/FSR3Upscaler_FFXBase.h diff --git a/FSR3Upscaler_Vulkan.cpp b/src/FSR3Upscaler_Vulkan.cpp similarity index 100% rename from FSR3Upscaler_Vulkan.cpp rename to src/FSR3Upscaler_Vulkan.cpp diff --git a/FSR3Upscaler_Vulkan.h b/src/FSR3Upscaler_Vulkan.h similarity index 100% rename from FSR3Upscaler_Vulkan.h rename to src/FSR3Upscaler_Vulkan.h diff --git a/Upscaler.h b/src/Upscaler.h similarity index 100% rename from Upscaler.h rename to src/Upscaler.h diff --git a/UpscalerGraphicsDevice.h b/src/UpscalerGraphicsDevice.h similarity index 100% rename from UpscalerGraphicsDevice.h rename to src/UpscalerGraphicsDevice.h