Merge remote-tracking branch 'origin/master' into gi
This commit is contained in:
@@ -554,7 +554,7 @@ bool CanUseInstancing(DrawPass pass)
|
||||
return pass == DrawPass::GBuffer || pass == DrawPass::Depth;
|
||||
}
|
||||
|
||||
void RenderList::ExecuteDrawCalls(const RenderContext& renderContext, DrawCallsList& list)
|
||||
void RenderList::ExecuteDrawCalls(const RenderContext& renderContext, DrawCallsList& list, GPUTextureView* input)
|
||||
{
|
||||
if (list.IsEmpty())
|
||||
return;
|
||||
@@ -626,6 +626,7 @@ DRAW:
|
||||
|
||||
// Execute draw calls
|
||||
MaterialBase::BindParameters bindParams(context, renderContext);
|
||||
bindParams.Input = input;
|
||||
if (useInstancing)
|
||||
{
|
||||
int32 instanceBufferOffset = 0;
|
||||
|
||||
Reference in New Issue
Block a user