gl: Implement basic MSAA rendertarget support

- Enough to get some popular titles working.
- Some depth resolvers still need work
This commit is contained in:
kd-11 2025-02-08 18:19:44 +03:00 committed by kd-11
parent 26d85e53a4
commit 042be7d7d1
12 changed files with 309 additions and 55 deletions

View file

@ -578,6 +578,8 @@ void gl::render_target::memory_barrier(gl::command_context& cmd, rsx::surface_ac
const auto src_bpp = src_texture->get_bpp();
rsx::typeless_xfer typeless_info{};
src_texture->memory_barrier(cmd, rsx::surface_access::transfer_read);
if (get_internal_format() == src_texture->get_internal_format())
{
// Copy data from old contents onto this one