Another D3DX12 update to fix errors when using preview Windows SDKs (#370)
This commit is contained in:
Родитель
40dacea267
Коммит
70909fd6be
|
@ -707,7 +707,7 @@ struct CD3DX12_RASTERIZER_DESC2 : public D3D12_RASTERIZER_DESC2
|
|||
}
|
||||
operator D3D12_RASTERIZER_DESC() const noexcept
|
||||
{
|
||||
return (D3D12_RASTERIZER_DESC)CD3DX12_RASTERIZER_DESC1((D3D12_RASTERIZER_DESC1)*this);
|
||||
return static_cast<D3D12_RASTERIZER_DESC>(CD3DX12_RASTERIZER_DESC1(static_cast<D3D12_RASTERIZER_DESC1>(*this)));
|
||||
}
|
||||
};
|
||||
#endif // D3D12_SDK_VERSION >= 610
|
||||
|
@ -5580,7 +5580,9 @@ public: // Function declaration
|
|||
#endif
|
||||
|
||||
#if defined(D3D12_SDK_VERSION) && (D3D12_SDK_VERSION >= 609)
|
||||
#if 0
|
||||
BOOL GPUUploadHeapSupported() const noexcept;
|
||||
#endif
|
||||
|
||||
// D3D12_OPTIONS17
|
||||
BOOL NonNormalizedCoordinateSamplersSupported() const noexcept;
|
||||
|
@ -6279,7 +6281,9 @@ FEATURE_SUPPORT_GET(BOOL, m_dOptions15, DynamicIndexBufferStripCutSupported);
|
|||
FEATURE_SUPPORT_GET(BOOL, m_dOptions16, DynamicDepthBiasSupported);
|
||||
#endif
|
||||
#if defined(D3D12_SDK_VERSION) && (D3D12_SDK_VERSION >= 609)
|
||||
#if 0
|
||||
FEATURE_SUPPORT_GET(BOOL, m_dOptions16, GPUUploadHeapSupported);
|
||||
#endif
|
||||
|
||||
// 46: Options17
|
||||
FEATURE_SUPPORT_GET(BOOL, m_dOptions17, NonNormalizedCoordinateSamplersSupported);
|
||||
|
|
Загрузка…
Ссылка в новой задаче