mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
rsx/vk: Rework MSAA implementation
This commit is contained in:
parent
9c5ed01130
commit
bc7ed8eaab
30 changed files with 285 additions and 123 deletions
|
|
@ -28,7 +28,7 @@ gl::texture* GLGSRender::get_present_source(gl::present_surface_info* info, cons
|
|||
gl::command_context cmd = { gl_state };
|
||||
const auto format_bpp = rsx::get_format_block_size_in_bytes(info->format);
|
||||
const auto overlap_info = m_rtts.get_merged_texture_memory_region(cmd,
|
||||
info->address, info->width, info->height, info->pitch, format_bpp, rsx::surface_access::shader_read);
|
||||
info->address, info->width, info->height, info->pitch, format_bpp, rsx::surface_access::transfer_read);
|
||||
|
||||
if (!overlap_info.empty())
|
||||
{
|
||||
|
|
@ -61,8 +61,7 @@ gl::texture* GLGSRender::get_present_source(gl::present_surface_info* info, cons
|
|||
|
||||
if (viable)
|
||||
{
|
||||
surface->read_barrier(cmd);
|
||||
image = section.surface->get_surface(rsx::surface_access::shader_read);
|
||||
image = section.surface->get_surface(rsx::surface_access::transfer_read);
|
||||
|
||||
std::tie(info->width, info->height) = rsx::apply_resolution_scale<true>(
|
||||
std::min(surface_width, info->width),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue