1
0
Fork 0

Merge pull request #106631 from BlueCube3310/mobile-fxaa

Mobile: Disable subpass post-processing when using FXAA
This commit is contained in:
Thaddeus Crews 2025-05-20 11:37:22 -05:00
commit eaa2015fdf
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 5 additions and 0 deletions

View File

@ -883,6 +883,11 @@ void RenderForwardMobile::_render_scene(RenderDataRD *p_render_data, const Color
using_subpass_post_process = false;
}
if (rb->get_screen_space_aa() == RS::VIEWPORT_SCREEN_SPACE_AA_FXAA) {
// Can't do blit subpass because we're using FXAA.
using_subpass_post_process = false;
}
if (scene_state.used_screen_texture || scene_state.used_depth_texture) {
// can't use our last two subpasses because we're reading from screen texture or depth texture
merge_transparent_pass = false;