From 555a4b5f5c1eb4916d666e1a4165ef11a619975a Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 1 Jun 2022 22:11:52 +0300 Subject: [PATCH] gl: Suggest readback buffer as ssbo if it is not provided - We're likely to jump into a compute or readback pass anyway. --- rpcs3/Emu/RSX/GL/GLTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/GLTexture.cpp b/rpcs3/Emu/RSX/GL/GLTexture.cpp index 78ed8c8bf4..6613fc88db 100644 --- a/rpcs3/Emu/RSX/GL/GLTexture.cpp +++ b/rpcs3/Emu/RSX/GL/GLTexture.cpp @@ -505,7 +505,7 @@ namespace gl if (!(*dst) || max_mem > static_cast(dst->size())) { if (*dst) dst->remove(); - dst->create(buffer::target::pixel_pack, max_mem, nullptr, buffer::memory_type::local, GL_STATIC_COPY); + dst->create(buffer::target::ssbo, max_mem, nullptr, buffer::memory_type::local, GL_STATIC_COPY); } if (auto as_vi = dynamic_cast(src);