3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 21:35:45 +02:00

Removed unused argument.

This commit is contained in:
Nissim Hadar 2017-11-08 14:56:21 -08:00
parent cc58f6ac2a
commit 3c5fd73ca8
2 changed files with 2 additions and 4 deletions

View file

@ -163,7 +163,7 @@ void RenderDeferredTask::build(JobModel& task, const render::Varying& input, ren
task.addJob<DrawHaze>("DrawHazeDeferred", drawHazeInputs);
// Render transparent objects forward in LightingBuffer
const auto transparentsInputs = DrawDeferred::Inputs(transparents, lightingModel, hazeModel).asVarying();
const auto transparentsInputs = DrawDeferred::Inputs(transparents, lightingModel).asVarying();
task.addJob<DrawDeferred>("DrawTransparentDeferred", transparentsInputs, shapePlumber);
// LIght Cluster Grid Debuging job
@ -291,7 +291,6 @@ void DrawDeferred::run(const RenderContextPointer& renderContext, const Inputs&
const auto& inItems = inputs.get0();
const auto& lightingModel = inputs.get1();
const auto& hazeModel = inputs.get2();
RenderArgs* args = renderContext->args;

View file

@ -15,7 +15,6 @@
#include <gpu/Pipeline.h>
#include <render/RenderFetchCullSortTask.h>
#include "LightingModel.h"
#include "model/Haze.h"
class BeginGPURangeTimer {
public:
@ -66,7 +65,7 @@ protected:
class DrawDeferred {
public:
using Inputs = render::VaryingSet3 <render::ItemBounds, LightingModelPointer, model::HazePointer>;
using Inputs = render::VaryingSet2 <render::ItemBounds, LightingModelPointer>;
using Config = DrawConfig;
using JobModel = render::Job::ModelI<DrawDeferred, Inputs, Config>;