mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
rsx: Do not allow 'compatible' check to pass if the size does not match
- It's not worth it. We end up with a mish-mash of internal configuration parameters that don't match the surface. Maybe with more abstraction it can work, but there is little benefit.
This commit is contained in:
parent
654c4e3c06
commit
7d710cbf8c
@ -250,8 +250,8 @@ struct gl_render_target_traits
|
||||
{
|
||||
return (surface->get_internal_format() == ref->get_internal_format() &&
|
||||
surface->get_spp() == sample_count &&
|
||||
surface->get_surface_width<rsx::surface_metrics::pixels>() >= width &&
|
||||
surface->get_surface_height<rsx::surface_metrics::pixels>() >= height);
|
||||
surface->get_surface_width<rsx::surface_metrics::pixels>() == width &&
|
||||
surface->get_surface_height<rsx::surface_metrics::pixels>() == height);
|
||||
}
|
||||
|
||||
static
|
||||
|
@ -405,8 +405,8 @@ namespace vk
|
||||
{
|
||||
return (surface->format() == ref->format() &&
|
||||
surface->get_spp() == sample_count &&
|
||||
surface->get_surface_width() >= width &&
|
||||
surface->get_surface_height() >= height);
|
||||
surface->get_surface_width() == width &&
|
||||
surface->get_surface_height() == height);
|
||||
}
|
||||
|
||||
static void prepare_surface_for_drawing(vk::command_buffer& cmd, vk::render_target* surface)
|
||||
|
Loading…
Reference in New Issue
Block a user