Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 949 vs 950 for /trunk/Source Code/Rendering/DeferredShadingRenderer.cpp

Diff revisions: vs.
  @@ -15,7 +15,7 @@
15 15 #include "Rendering/Camera/Headers/Camera.h"
16 16 #include "Rendering/Lighting/Headers/Light.h"
17 17 #include "Rendering/Lighting/Headers/LightPool.h"
18 - #include "Geometry/Shapes/Headers/Predefined/Quad3D.h"
18 + #include "Geometry/Shapes/Predefined/Headers/Quad3D.h"
19 19 #include "Managers/Headers/RenderPassManager.h"
20 20 #include "Platform/Video/Shaders/Headers/ShaderProgram.h"
21 21 #include "Platform/Video/Buffers/PixelBuffer/Headers/PixelBuffer.h"
  @@ -188,6 +188,7 @@
188 188 // Draw the geometry, saving parameters into the buffer
189 189 GFX::BeginRenderPassCommand beginRenderPassCmd;
190 190 beginRenderPassCmd._target = _deferredBuffer._targetID;
191 + beginRenderPassCmd._name = "DO_DEFERRED_RENDERING_PASS_1";
191 192 GFX::BeginRenderPass(bufferInOut, beginRenderPassCmd);
192 193
193 194 renderCallback(bufferInOut);
  @@ -232,8 +233,6 @@
232 233
233 234 GenericDrawCommand cmd;
234 235 if (_debugView) {
235 - const RenderStagePass& stagePass = _context.gfx().getRenderStage();
236 -
237 236 pushConstantsCommand._constants.set("texDiffuse0", PushConstantType::UINT, 4);
238 237 GFX::SendPushConstants(bufferInOut, pushConstantsCommand);
239 238 cmd.sourceBuffer(_renderQuads[1]->getGeometryVB());