vk_rasterizer: Reduce stream buffer size

* 64MB is more than enough, any higher and it fills up the 256MB device local-host visible heap
This commit is contained in:
GPUCode
2023-02-26 12:37:33 +02:00
parent 33be1b744b
commit f04a6a4d83

View File

@@ -28,7 +28,7 @@ MICROPROFILE_DEFINE(Vulkan_Blits, "Vulkan", "Blits", MP_RGB(100, 100, 255));
using TriangleTopology = Pica::PipelineRegs::TriangleTopology; using TriangleTopology = Pica::PipelineRegs::TriangleTopology;
using VideoCore::SurfaceType; using VideoCore::SurfaceType;
constexpr u64 STREAM_BUFFER_SIZE = 128 * 1024 * 1024; constexpr u64 STREAM_BUFFER_SIZE = 64 * 1024 * 1024;
constexpr u64 TEXTURE_BUFFER_SIZE = 2 * 1024 * 1024; constexpr u64 TEXTURE_BUFFER_SIZE = 2 * 1024 * 1024;
constexpr vk::BufferUsageFlags BUFFER_USAGE = vk::BufferUsageFlagBits::eVertexBuffer | constexpr vk::BufferUsageFlags BUFFER_USAGE = vk::BufferUsageFlagBits::eVertexBuffer |