Cleanup: remove unneeded code in eevee_bloom.

This had to be added to the previous commit.
This commit is contained in:
Jeroen Bakker 2022-06-21 08:27:20 +02:00
parent 3df6e75a26
commit 5d3df1c296
Notes: blender-bot 2023-02-14 10:11:49 +01:00
Referenced by issue #98661, 3.2: Potential candidates for corrective releases
1 changed files with 7 additions and 8 deletions

View File

@ -310,14 +310,13 @@ void EEVEE_bloom_output_init(EEVEE_ViewLayerData *UNUSED(sldata),
{GPU_ATTACHMENT_NONE, GPU_ATTACHMENT_TEXTURE(txl->bloom_accum)});
/* Create Pass and shgroup. */
DRWShadingGroup *grp = eevee_create_bloom_pass("Bloom Accumulate",
effects,
EEVEE_shaders_bloom_resolve_get(use_highres),
&psl->bloom_accum_ps,
true,
true,
false);
DRW_shgroup_uniform_bool_copy(grp, "bloomAddBase", false);
eevee_create_bloom_pass("Bloom Accumulate",
effects,
EEVEE_shaders_bloom_resolve_get(use_highres),
&psl->bloom_accum_ps,
true,
true,
false);
}
void EEVEE_bloom_output_accumulate(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data *vedata)