Updated D3DX12.H to latest version with a/analyze fix for VS 2019

This commit is contained in:
Chuck Walbourn 2019-08-23 13:26:03 -07:00
parent 4cf8c779cc
commit cadc01f3af

View File

@ -555,6 +555,7 @@ struct CD3DX12_CLEAR_VALUE : public D3D12_CLEAR_VALUE
UINT8 stencil )
{
Format = format;
memset( &Color, 0, sizeof( Color ) );
/* Use memcpy to preserve NAN values */
memcpy( &DepthStencil.Depth, &depth, sizeof( depth ) );
DepthStencil.Stencil = stencil;
@ -844,6 +845,7 @@ struct CD3DX12_TEXTURE_COPY_LOCATION : public D3D12_TEXTURE_COPY_LOCATION
{
pResource = pRes;
Type = D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX;
PlacedFootprint = {};
SubresourceIndex = Sub;
}
};