Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 13 files). Show all
Unified · Split
| @@ -26,7 +26,6 @@ · 25 unmodified lines | |||
| 26 | #include "render-utils/ShaderConstants.h" | 26 | #include "render-utils/ShaderConstants.h" |
| 27 | #include "StencilMaskPass.h" | 27 | #include "StencilMaskPass.h" |
| 28 | #include "ZoneRenderer.h" | 28 | #include "ZoneRenderer.h" |
| 29 | #include "FadeEffect.h" | ||
| 30 | #include "ToneMapAndResampleTask.h" | 29 | #include "ToneMapAndResampleTask.h" |
| 31 | #include "BackgroundStage.h" | 30 | #include "BackgroundStage.h" |
| 32 | #include "FramebufferCache.h" | 31 | #include "FramebufferCache.h" |
| @@ -72,7 +71,6 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 39 unmodified lines | |||
| 72 | task.addJob<SetRenderMethod>("SetRenderMethodTask", render::Args::FORWARD); | 71 | task.addJob<SetRenderMethod>("SetRenderMethodTask", render::Args::FORWARD); |
| 73 | 72 | ||
| 74 | // Prepare the ShapePipelines | 73 | // Prepare the ShapePipelines |
| 75 | auto fadeEffect = DependencyManager::get<FadeEffect>(); | ||
| 76 | static ShapePlumberPointer shapePlumber = std::make_shared<ShapePlumber>(); | 74 | static ShapePlumberPointer shapePlumber = std::make_shared<ShapePlumber>(); |
| 77 | static std::once_flag once; | 75 | static std::once_flag once; |
| 78 | std::call_once(once, [] { | 76 | std::call_once(once, [] { |
| @@ -112,9 +110,6 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 33 unmodified lines | |||
| 112 | 110 | ||
| 113 | const auto& zones = lightingStageInputs[1]; | 111 | const auto& zones = lightingStageInputs[1]; |
| 114 | 112 | ||
| 115 | // First job, alter faded | ||
| 116 | fadeEffect->build(task, opaques); | ||
| 117 | |||
| 118 | // GPU jobs: Start preparing the main framebuffer | 113 | // GPU jobs: Start preparing the main framebuffer |
| 119 | const auto scaledPrimaryFramebuffer = task.addJob<PreparePrimaryFramebufferMSAA>("PreparePrimaryBufferForward"); | 114 | const auto scaledPrimaryFramebuffer = task.addJob<PreparePrimaryFramebufferMSAA>("PreparePrimaryBufferForward"); |
| 120 | 115 | ||