mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-10-01 21:59:35 +00:00
vk: Avoid submitting wrong sample count in overlay passes
This commit is contained in:
parent
4104d7a6a1
commit
98156d2a2c
1 changed files with 4 additions and 0 deletions
|
@ -375,6 +375,7 @@ namespace vk
|
|||
}
|
||||
};
|
||||
|
||||
// @Deprecated!!
|
||||
struct depth_convert_pass : public overlay_pass
|
||||
{
|
||||
f32 src_scale_x;
|
||||
|
@ -923,6 +924,9 @@ namespace vk
|
|||
region = rect;
|
||||
target->read_barrier(cmd);
|
||||
|
||||
// Coverage sampling disabled, but actually report correct number of samples
|
||||
renderpass_config.set_multisample_state(target->samples(), 0xFFFF, false, false, false);
|
||||
|
||||
overlay_pass::run(cmd, target->width(), target->height(), target,
|
||||
target->get_view(0xAAE4, rsx::default_remap_vector),
|
||||
render_pass);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue