Fix compilation warnings from a925c7410a

This commit is contained in:
Wojtek Figat
2026-03-03 10:25:57 +01:00
parent 3e63551e90
commit 9df5da2a88
3 changed files with 9 additions and 5 deletions

View File

@@ -763,11 +763,13 @@ bool GPUDeviceDX12::Init()
limits.HasVolumeTextureRendering = true;
limits.HasDrawIndirect = true;
limits.HasAppendConsumeBuffers = true;
limits.HasSeparateRenderTargetBlendState = true;
limits.HasDepthAsSRV = true;
limits.HasDepthClip = true;
limits.HasReadOnlyDepth = true;
PRAGMA_DISABLE_DEPRECATION_WARNINGS
limits.HasMultisampleDepthAsSRV = true;
limits.HasSeparateRenderTargetBlendState = true;
PRAGMA_ENABLE_DEPRECATION_WARNINGS
limits.HasTypedUAVLoad = options.TypedUAVLoadAdditionalFormats != 0;
limits.MaximumMipLevelsCount = D3D12_REQ_MIP_LEVELS;
limits.MaximumTexture1DSize = D3D12_REQ_TEXTURE1D_U_DIMENSION;