From 36a661ac381127a4e2a672da32060d95bd385302 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Tue, 24 Feb 2026 23:19:28 +0300 Subject: [PATCH] Again disable compute queues for testing --- OptiScaler/upscalers/IFeature_Dx11wDx12.h | 2 +- OptiScaler/upscalers/IFeature_VkwDx12.cpp | 2 +- OptiScaler/upscalers/IFeature_VkwDx12.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OptiScaler/upscalers/IFeature_Dx11wDx12.h b/OptiScaler/upscalers/IFeature_Dx11wDx12.h index d8f11159..9571f99a 100644 --- a/OptiScaler/upscalers/IFeature_Dx11wDx12.h +++ b/OptiScaler/upscalers/IFeature_Dx11wDx12.h @@ -39,7 +39,7 @@ class IFeature_Dx11wDx12 : public virtual IFeature_Dx11 ID3D11Device5* Dx11Device = nullptr; ID3D11DeviceContext4* Dx11DeviceContext = nullptr; - D3D12_COMMAND_LIST_TYPE Dx12CommandListType = D3D12_COMMAND_LIST_TYPE_COMPUTE; + D3D12_COMMAND_LIST_TYPE Dx12CommandListType = D3D12_COMMAND_LIST_TYPE_DIRECT; ID3D12CommandQueue* Dx12CommandQueue = nullptr; ID3D12CommandAllocator* Dx12CommandAllocator[2] = { nullptr, nullptr }; diff --git a/OptiScaler/upscalers/IFeature_VkwDx12.cpp b/OptiScaler/upscalers/IFeature_VkwDx12.cpp index 02c617bb..502073b1 100644 --- a/OptiScaler/upscalers/IFeature_VkwDx12.cpp +++ b/OptiScaler/upscalers/IFeature_VkwDx12.cpp @@ -225,7 +225,7 @@ static DXGI_FORMAT VkFormatToDxgiFormat(VkFormat vkFormat) case VK_FORMAT_D24_UNORM_S8_UINT: return DXGI_FORMAT_D24_UNORM_S8_UINT; case VK_FORMAT_D32_SFLOAT_S8_UINT: - return DXGI_FORMAT_D32_FLOAT; + return DXGI_FORMAT_D32_FLOAT_S8X24_UINT; case VK_FORMAT_X8_D24_UNORM_PACK32: return DXGI_FORMAT_D24_UNORM_S8_UINT; // Closest match diff --git a/OptiScaler/upscalers/IFeature_VkwDx12.h b/OptiScaler/upscalers/IFeature_VkwDx12.h index 6b4db8d1..f0e53d4a 100644 --- a/OptiScaler/upscalers/IFeature_VkwDx12.h +++ b/OptiScaler/upscalers/IFeature_VkwDx12.h @@ -66,7 +66,7 @@ class IFeature_VkwDx12 : public virtual IFeature_Vk ID3D12GraphicsCommandList* Dx12CommandList[2] = { nullptr, nullptr }; ID3D12Fence* Dx12Fence = nullptr; HANDLE Dx12FenceEvent = nullptr; - D3D12_COMMAND_LIST_TYPE Dx12CommandListType = D3D12_COMMAND_LIST_TYPE_COMPUTE; + D3D12_COMMAND_LIST_TYPE Dx12CommandListType = D3D12_COMMAND_LIST_TYPE_DIRECT; // Shared resources VK_TEXTURE2D_RESOURCE_C vkColor = {};