Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2020-01-17 04:56:25 +0300
committerJoshua Ashton <joshua@froggi.es>2020-01-17 04:56:25 +0300
commit32f1de18083836930a8dceefedecee5ade928e86 (patch)
treedde4c6f1994294ee7377644ce6f0cbcede3df2bf
parenteb37dfa8d2cc8e858a3d46389ed8c6dcb270fa00 (diff)
[d3d9] Use VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT for constant buffersd3d9-device-local-consts
-rw-r--r--src/d3d9/d3d9_device.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp
index 90f130f6..9d73c84d 100644
--- a/src/d3d9/d3d9_device.cpp
+++ b/src/d3d9/d3d9_device.cpp
@@ -4361,7 +4361,8 @@ namespace dxvk {
info.access = VK_ACCESS_UNIFORM_READ_BIT;
VkMemoryPropertyFlags memoryFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
- | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
+ | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
+ | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
info.stages = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT;
info.size = m_vsLayout.totalSize();