summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrChat <arkolbed@gmail.com>2018-02-18 16:49:15 -0600
committerDrChat <arkolbed@gmail.com>2018-02-18 16:49:15 -0600
commit71e5e967eca486adf1ff11e1bbc5ff98507aa7b1 (patch)
tree79d72db90948d1c311625cd5c56c1e4c4be6491d
parent1dba231049f1a6dbe708b26f4c850e5ca66f302f (diff)
[Vulkan] Disable vertex buffer cache expansion for now.vtx_cache
-rw-r--r--src/xenia/gpu/vulkan/buffer_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xenia/gpu/vulkan/buffer_cache.cc b/src/xenia/gpu/vulkan/buffer_cache.cc
index 714ead715..64dc3121b 100644
--- a/src/xenia/gpu/vulkan/buffer_cache.cc
+++ b/src/xenia/gpu/vulkan/buffer_cache.cc
@@ -429,7 +429,8 @@ std::pair<VkBuffer, VkDeviceSize> BufferCache::UploadVertexBuffer(
uint32_t upload_size = source_length;
// Ping the memory subsystem for allocation size.
- physical_heap->QueryBaseAndSize(&upload_base, &upload_size);
+ // TODO(DrChat): Artifacting occurring in GripShift with this enabled.
+ // physical_heap->QueryBaseAndSize(&upload_base, &upload_size);
assert(upload_base <= source_addr);
uint32_t source_offset = source_addr - upload_base;