summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
index 4b0af79e..ba888614 100644
--- a/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/DeviceContextVkImpl.cpp
@@ -200,8 +200,8 @@ namespace Diligent
Flush();
}
- auto *pPipelineStateVk = ValidatedCast<PipelineStateVkImpl>(pPipelineState);
- const auto &PSODesc = pPipelineStateVk->GetDesc();
+ auto* pPipelineStateVk = ValidatedCast<PipelineStateVkImpl>(pPipelineState);
+ const auto& PSODesc = pPipelineStateVk->GetDesc();
bool CommitStates = false;
bool CommitScissor = false;
@@ -224,7 +224,7 @@ namespace Diligent
CommitScissor = !OldPSODesc.GraphicsPipeline.RasterizerDesc.ScissorEnable;
}
- TDeviceContextBase::SetPipelineState( pPipelineState );
+ TDeviceContextBase::SetPipelineState( pPipelineStateVk, 0 /*Dummy*/ );
EnsureVkCmdBuffer();
if (PSODesc.IsComputePipeline)