[Vulkan] Disable vertex buffer cache expansion for now.

This commit is contained in:
DrChat 2018-02-18 16:49:15 -06:00
parent 1dba231049
commit 71e5e967ec
1 changed files with 2 additions and 1 deletions

View File

@ -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;