From b1f4e28ccd00ae798d1ac8293ef9b54eed02567f Mon Sep 17 00:00:00 2001 From: cdozdil Date: Wed, 23 Oct 2024 14:42:57 +0300 Subject: [PATCH] remove shared flag --- OptiScaler/format_transfer/FT_Dx12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptiScaler/format_transfer/FT_Dx12.cpp b/OptiScaler/format_transfer/FT_Dx12.cpp index cea6f1a0..66e98f73 100644 --- a/OptiScaler/format_transfer/FT_Dx12.cpp +++ b/OptiScaler/format_transfer/FT_Dx12.cpp @@ -87,7 +87,7 @@ bool FT_Dx12::CreateBufferResource(ID3D12Device* InDevice, ID3D12Resource* InSou } texDesc.Format = format; - texDesc.Flags |= D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS | D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS; + texDesc.Flags |= D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS; hr = InDevice->CreateCommittedResource(&heapProperties, D3D12_HEAP_FLAG_NONE, &texDesc, InState, nullptr, IID_PPV_ARGS(&_buffer));