Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 5 files). Show all
Unified · Split
| @@ -119,17 +119,11 @@ void RenderDeferredTask::build(JobModel& task, const render::Varying& input, ren · 118 unmodified lines | |||
| 119 | // Extract opaques / transparents / lights / metas / overlays / background | 119 | // Extract opaques / transparents / lights / metas / overlays / background |
| 120 | const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE]; | 120 | const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE]; |
| 121 | const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE]; | 121 | const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE]; |
| 122 | const auto& lights = items[RenderFetchCullSortTask::LIGHT]; | ||
| 123 | const auto& metas = items[RenderFetchCullSortTask::META]; | ||
| 124 | const auto& overlayOpaques = items[RenderFetchCullSortTask::OVERLAY_OPAQUE_SHAPE]; | ||
| 125 | const auto& overlayTransparents = items[RenderFetchCullSortTask::OVERLAY_TRANSPARENT_SHAPE]; | ||
| 126 | const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE]; | 122 | const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE]; |
| 127 | const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE]; | 123 | const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE]; |
| 128 | const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; | 124 | const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; |
| 129 | const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE]; | 125 | const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE]; |
| 130 | 126 | ||
| 131 | const auto& spatialSelection = fetchedItems.get1(); | ||
| 132 | |||
| 133 | // Lighting model comes next, the big configuration of the view | 127 | // Lighting model comes next, the big configuration of the view |
| 134 | const auto& lightingModel = inputs[1]; | 128 | const auto& lightingModel = inputs[1]; |
| 135 | 129 | ||
| @@ -142,8 +136,6 @@ void RenderDeferredTask::build(JobModel& task, const render::Varying& input, ren · 6 unmodified lines | |||
| 142 | const auto& hazeFrame = currentStageFrames[2]; | 136 | const auto& hazeFrame = currentStageFrames[2]; |
| 143 | const auto& bloomFrame = currentStageFrames[3]; | 137 | const auto& bloomFrame = currentStageFrames[3]; |
| 144 | 138 | ||
| 145 | const auto& zones = lightingStageInputs[1]; | ||
| 146 | |||
| 147 | // Shadow Task Outputs | 139 | // Shadow Task Outputs |
| 148 | const auto& shadowTaskOutputs = inputs.get3(); | 140 | const auto& shadowTaskOutputs = inputs.get3(); |
| 149 | 141 | ||
| @@ -296,8 +288,6 @@ void RenderDeferredTaskDebug::build(JobModel& task, const render::Varying& input · 146 unmodified lines | |||
| 296 | const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE]; | 288 | const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE]; |
| 297 | const auto& lights = items[RenderFetchCullSortTask::LIGHT]; | 289 | const auto& lights = items[RenderFetchCullSortTask::LIGHT]; |
| 298 | const auto& metas = items[RenderFetchCullSortTask::META]; | 290 | const auto& metas = items[RenderFetchCullSortTask::META]; |
| 299 | const auto& overlayOpaques = items[RenderFetchCullSortTask::OVERLAY_OPAQUE_SHAPE]; | ||
| 300 | const auto& overlayTransparents = items[RenderFetchCullSortTask::OVERLAY_TRANSPARENT_SHAPE]; | ||
| 301 | const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE]; | 291 | const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE]; |
| 302 | const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE]; | 292 | const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE]; |
| 303 | const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; | 293 | const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE]; |
| @@ -308,7 +298,7 @@ void RenderDeferredTaskDebug::build(JobModel& task, const render::Varying& input · 4 unmodified lines | |||
| 308 | // RenderShadowTask out | 298 | // RenderShadowTask out |
| 309 | const auto& shadowOut = inputs.get1(); | 299 | const auto& shadowOut = inputs.get1(); |
| 310 | 300 | ||
| 311 | const auto& renderShadowTaskOut = inputs[0]; | 301 | const auto& renderShadowTaskOut = shadowOut[0]; |
| 312 | 302 | ||
| 313 | // Extract the Lighting Stages Current frame ( and zones) | 303 | // Extract the Lighting Stages Current frame ( and zones) |
| 314 | const auto lightingStageInputs = inputs.get2(); | 304 | const auto lightingStageInputs = inputs.get2(); |