History

fixing warnings from the build

sam gateau committed 7 years ago

Commit b8d96d91 parent 5b50b035 files · +11 −35Browse files

Showing the changes to libraries/render-utils/src/RenderForwardTask.cpp (1 of 5 files). Show all

Unified · Split

libraries/render-utils/src/RenderForwardTask.cpp+4−10
@@ -64,16 +64,12 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 63 unmodified lines
6464 // Extract opaques / transparents / lights / metas / overlays / background
6565 const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE];
6666 const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE];
67− const auto& lights = items[RenderFetchCullSortTask::LIGHT];
6867 const auto& metas = items[RenderFetchCullSortTask::META];
69− const auto& overlayOpaques = items[RenderFetchCullSortTask::OVERLAY_OPAQUE_SHAPE];
70− const auto& overlayTransparents = items[RenderFetchCullSortTask::OVERLAY_TRANSPARENT_SHAPE];
7168 const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE];
7269 const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE];
73− const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE];
74− const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE];
75−
76− const auto& spatialSelection = fetchedItems.get1();
70+ // TODO: Re enable the rendering of the HUD overlayes
71+ // const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE];
72+ // const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE];
7773
7874 // Lighting model comes next, the big configuration of the view
7975 const auto& lightingModel = inputs[1];
@@ -84,9 +80,7 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 4 unmodified lines
8480 const auto currentStageFrames = lightingStageInputs.get0();
8581 const auto lightFrame = currentStageFrames[0];
8682 const auto backgroundFrame = currentStageFrames[1];
87− const auto& hazeFrame = currentStageFrames[2];
88− const auto& bloomFrame = currentStageFrames[3];
89−
83+
9084 const auto& zones = lightingStageInputs[1];
9185
9286 // First job, alter faded