From 3d593c26c452756a27975700b81e6ac949512c30 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 25 Oct 2020 10:38:41 -0700 Subject: Fixed issue with wrong base constructor being called for PipelineStateVkImpl, PipelineStateD3D12Impl, and PipelineStateGLImpl --- Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp index 83512870..2325f9cb 100644 --- a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp @@ -512,7 +512,7 @@ void PipelineStateVkImpl::InitInternalObjects(const PSOCreateInfoType& PipelineStateVkImpl::PipelineStateVkImpl(IReferenceCounters* pRefCounters, RenderDeviceVkImpl* pDeviceVk, const GraphicsPipelineStateCreateInfo& CreateInfo) : - TPipelineStateBase{pRefCounters, pDeviceVk, CreateInfo.PSODesc}, + TPipelineStateBase{pRefCounters, pDeviceVk, CreateInfo}, m_SRBMemAllocator{GetRawAllocator()} { try @@ -535,7 +535,7 @@ PipelineStateVkImpl::PipelineStateVkImpl(IReferenceCounters* PipelineStateVkImpl::PipelineStateVkImpl(IReferenceCounters* pRefCounters, RenderDeviceVkImpl* pDeviceVk, const ComputePipelineStateCreateInfo& CreateInfo) : - TPipelineStateBase{pRefCounters, pDeviceVk, CreateInfo.PSODesc}, + TPipelineStateBase{pRefCounters, pDeviceVk, CreateInfo}, m_SRBMemAllocator{GetRawAllocator()} { try -- cgit v1.2.3