1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Fix BDA validation error with dedicated allocations

This commit is contained in:
Philip Rebohle 2024-09-19 18:32:11 +02:00
parent 18ecc17e59
commit 398c198df6

View File

@ -405,7 +405,7 @@ namespace dxvk {
if (hints.test(DxvkMemoryFlag::GpuWritable))
priority = 1.0f;
bool dedicated = false;
bool dedicated = info.dedicated.buffer || info.dedicated.image;
DxvkDeviceMemory result;
result.memSize = size;