From 36c27579b914aa0f94ef6bfb00d70b19a0234e23 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 22 Apr 2020 15:51:14 -0700 Subject: [PATCH] Fixed D3DX12 bug with mesh shader related ctors --- DirectXTex/d3dx12.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/DirectXTex/d3dx12.h b/DirectXTex/d3dx12.h index ae6a59c..d696095 100644 --- a/DirectXTex/d3dx12.h +++ b/DirectXTex/d3dx12.h @@ -2445,8 +2445,6 @@ struct CD3DX12_PIPELINE_STATE_STREAM2 , HS(Desc.HS) , DS(Desc.DS) , PS(Desc.PS) - , AS() - , MS() , BlendState(CD3DX12_BLEND_DESC(Desc.BlendState)) , DepthStencilState(CD3DX12_DEPTH_STENCIL_DESC1(Desc.DepthStencilState)) , DSVFormat(Desc.DSVFormat) @@ -2464,8 +2462,8 @@ struct CD3DX12_PIPELINE_STATE_STREAM2 , IBStripCutValue(Desc.IBStripCutValue) , PrimitiveTopologyType(Desc.PrimitiveTopologyType) , PS(Desc.PS) - , AS() - , MS() + , AS(Desc.AS) + , MS(Desc.MS) , BlendState(CD3DX12_BLEND_DESC(Desc.BlendState)) , DepthStencilState(CD3DX12_DEPTH_STENCIL_DESC1(Desc.DepthStencilState)) , DSVFormat(Desc.DSVFormat) @@ -2676,8 +2674,8 @@ struct CD3DX12_PIPELINE_MESH_STATE_STREAM , NodeMask(Desc.NodeMask) , pRootSignature(Desc.pRootSignature) , PS(Desc.PS) - , AS() - , MS() + , AS(Desc.AS) + , MS(Desc.MS) , BlendState(CD3DX12_BLEND_DESC(Desc.BlendState)) , DepthStencilState(CD3DX12_DEPTH_STENCIL_DESC1(Desc.DepthStencilState)) , DSVFormat(Desc.DSVFormat)