mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 14:52:10 +01:00
[dxvk] Fix HUD memory chunk colors on UMA
This commit is contained in:
parent
e83446f5c9
commit
a5e3f29074
@ -846,11 +846,11 @@ namespace dxvk::hud {
|
|||||||
args.pos = pos;
|
args.pos = pos;
|
||||||
args.size = size;
|
args.size = size;
|
||||||
|
|
||||||
if (!(memoryType.propertyFlags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)) {
|
if (memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_CACHED_BIT) {
|
||||||
|
args.color = 0xff208020u;
|
||||||
|
} else if (!(memoryType.propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) {
|
||||||
if (!stats.mapped)
|
if (!stats.mapped)
|
||||||
args.color = 0xff202020u;
|
args.color = 0xff202020u;
|
||||||
else if (memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_CACHED_BIT)
|
|
||||||
args.color = 0xff208020u;
|
|
||||||
else
|
else
|
||||||
args.color = 0xff202080u;
|
args.color = 0xff202080u;
|
||||||
} else if (stats.mapped) {
|
} else if (stats.mapped) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user