mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-25 14:25:42 +01:00
Merge yuzu-emu#13006
This commit is contained in:
parent
b6191660a6
commit
4d10e9813e
@ -1130,7 +1130,7 @@ void BufferCache<P>::UpdateVertexBuffer(u32 index) {
|
||||
channel_state->vertex_buffers[index] = NULL_BINDING;
|
||||
return;
|
||||
}
|
||||
if (!gpu_memory->IsWithinGPUAddressRange(gpu_addr_end)) {
|
||||
if (!gpu_memory->IsWithinGPUAddressRange(gpu_addr_end) || size >= 64_MiB) {
|
||||
size = static_cast<u32>(gpu_memory->MaxContinuousRange(gpu_addr_begin, size));
|
||||
}
|
||||
const BufferId buffer_id = FindBuffer(*device_addr, size);
|
||||
|
Loading…
Reference in New Issue
Block a user