From f435dd9da821ffd2d6f0181987a4f728c1a0ed0c Mon Sep 17 00:00:00 2001 From: Pavel <68122101+red-prig@users.noreply.github.com> Date: Fri, 2 Dec 2022 12:03:23 +0300 Subject: [PATCH] + --- vulkan/vMemory.pas | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/vulkan/vMemory.pas b/vulkan/vMemory.pas index 997fb560..4d0a6244 100644 --- a/vulkan/vMemory.pas +++ b/vulkan/vMemory.pas @@ -236,14 +236,11 @@ begin ); end; - //FHostCacheMt:=findMemoryType(mr.memoryTypeBits, - // ord(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) or - // ord(VK_MEMORY_PROPERTY_HOST_CACHED_BIT)); - - //if (FHostCacheMt=DWORD(-1)) then - //begin - // FHostCacheMt:=FHostVisibMt; - //end; + //We'll try it, but the driver still sucks + if (FHostVisibMt=DWORD(-1)) then + begin + FHostVisibMt:=0; + end; Writeln(' SelectHost=',FHostVisibMt); end;