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
64 // Extract opaques / transparents / lights / metas / overlays / background64 // Extract opaques / transparents / lights / metas / overlays / background
65 const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE];65 const auto& opaques = items[RenderFetchCullSortTask::OPAQUE_SHAPE];
66 const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE];66 const auto& transparents = items[RenderFetchCullSortTask::TRANSPARENT_SHAPE];
67 const auto& lights = items[RenderFetchCullSortTask::LIGHT];
68 const auto& metas = items[RenderFetchCullSortTask::META];67 const auto& metas = items[RenderFetchCullSortTask::META];
69 const auto& overlayOpaques = items[RenderFetchCullSortTask::OVERLAY_OPAQUE_SHAPE];
70 const auto& overlayTransparents = items[RenderFetchCullSortTask::OVERLAY_TRANSPARENT_SHAPE];
71 const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE];68 const auto& overlaysInFrontOpaque = items[RenderFetchCullSortTask::LAYER_FRONT_OPAQUE_SHAPE];
72 const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE];69 const auto& overlaysInFrontTransparent = items[RenderFetchCullSortTask::LAYER_FRONT_TRANSPARENT_SHAPE];
73 const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE];70 // TODO: Re enable the rendering of the HUD overlayes
74 const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE];71 // const auto& overlaysHUDOpaque = items[RenderFetchCullSortTask::LAYER_HUD_OPAQUE_SHAPE];
75 72 // const auto& overlaysHUDTransparent = items[RenderFetchCullSortTask::LAYER_HUD_TRANSPARENT_SHAPE];
76 const auto& spatialSelection = fetchedItems.get1();
77 73
78 // Lighting model comes next, the big configuration of the view74 // Lighting model comes next, the big configuration of the view
79 const auto& lightingModel = inputs[1];75 const auto& lightingModel = inputs[1];
@@ -84,9 +80,7 @@ void RenderForwardTask::build(JobModel& task, const render::Varying& input, rend · 4 unmodified lines
84 const auto currentStageFrames = lightingStageInputs.get0();80 const auto currentStageFrames = lightingStageInputs.get0();
85 const auto lightFrame = currentStageFrames[0];81 const auto lightFrame = currentStageFrames[0];
86 const auto backgroundFrame = currentStageFrames[1];82 const auto backgroundFrame = currentStageFrames[1];
87 const auto& hazeFrame = currentStageFrames[2];83
88 const auto& bloomFrame = currentStageFrames[3];
89
90 const auto& zones = lightingStageInputs[1];84 const auto& zones = lightingStageInputs[1];
91 85
92 // First job, alter faded86 // First job, alter faded