mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 12:51:42 +00:00
Fix D3D12 fallback condition.
This commit is contained in:
parent
e798bc5eb3
commit
e25d044c28
1 changed files with 1 additions and 1 deletions
|
|
@ -3601,7 +3601,7 @@ namespace plume {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<RenderBuffer> D3D12Device::createBuffer(const RenderBufferDesc &desc) {
|
std::unique_ptr<RenderBuffer> D3D12Device::createBuffer(const RenderBufferDesc &desc) {
|
||||||
if ((desc.heapType == RenderHeapType::GPU_UPLOAD) && capabilities.uma && !capabilities.gpuUploadHeap) {
|
if ((desc.heapType == RenderHeapType::GPU_UPLOAD) && gpuUploadHeapFallback) {
|
||||||
return std::make_unique<D3D12Buffer>(this, customUploadPool.get(), desc);
|
return std::make_unique<D3D12Buffer>(this, customUploadPool.get(), desc);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue