Merge pull request #88649 from clayjohn/RD-ss-barriers
Use barriers between all blur passes with SSAO and SSIL
This commit is contained in:
commit
8bad68df1a
|
@ -899,11 +899,10 @@ void SSEffects::screen_space_indirect_lighting(Ref<RenderSceneBuffersRD> p_rende
|
|||
int y_groups = p_ssil_buffers.buffer_height;
|
||||
|
||||
RD::get_singleton()->compute_list_dispatch_threads(compute_list, x_groups, y_groups, 1);
|
||||
if (ssil_quality > RS::ENV_SSIL_QUALITY_VERY_LOW) {
|
||||
}
|
||||
|
||||
RD::get_singleton()->compute_list_add_barrier(compute_list);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RD::get_singleton()->draw_command_end_label(); // Blur
|
||||
}
|
||||
|
@ -1285,10 +1284,8 @@ void SSEffects::generate_ssao(Ref<RenderSceneBuffersRD> p_render_buffers, SSAORe
|
|||
RD::get_singleton()->compute_list_dispatch_threads(compute_list, p_ssao_buffers.buffer_width, p_ssao_buffers.buffer_height, 1);
|
||||
}
|
||||
|
||||
if (ssao_quality > RS::ENV_SSAO_QUALITY_VERY_LOW) {
|
||||
RD::get_singleton()->compute_list_add_barrier(compute_list);
|
||||
}
|
||||
}
|
||||
RD::get_singleton()->draw_command_end_label(); // Blur
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue