From c8fe6c723cba68856d2eb6aff95e4e6cca857484 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 25 Jun 2023 22:25:46 +0200 Subject: [PATCH] Remove workaround for lower D3D12MA SDK --- .../Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs index 19f04410..75fbfe4e 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -327,12 +327,7 @@ internal static unsafe class ID3D12DeviceExtensions // readback buffer, probably due to some driver-specific behavior. This is not // an issue, as the initial state doesn't matter anyway and the readback buffer // is still correctly transitioned when needed, so it can be safely ignored. -#if NET6_0_OR_GREATER - // This value is defined in the 22000 SDK, which is not currently referenced by D3D12MA - (D3D12_MESSAGE_ID)1328 -#else D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED -#endif }; D3D12_INFO_QUEUE_FILTER d3D12InfoQueueFilter = default;