1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

rsx: Re-enable optional sample-to-pixel transformation

This commit is contained in:
kd-11 2019-06-04 19:01:53 +03:00 committed by kd-11
parent acb14320da
commit ea8409dcfd

View File

@ -2889,15 +2889,17 @@ namespace rsx
}
}
if (0)//src_is_render_target)
if (src_is_render_target &&
dynamic_cast<decltype(src_subres.surface)>(vram_texture) != nullptr)
{
// TODO: Specify typeless for high sample counts
// The resource is of surface type; possibly disabled AA emulation
src_subres.surface->transform_samples_to_pixels(src_area);
}
if (0)//dst_is_render_target)
if (dst_is_render_target &&
dynamic_cast<decltype(dst_subres.surface)>(dest_texture) != nullptr)
{
// TODO: Specify typeless for high sample counts
// The resource is of surface type; possibly disabled AA emulation
dst_subres.surface->transform_samples_to_pixels(dst_area);
}