Add missing TerraFX API to make ComputeSharp compile
このコミットが含まれているのは:
1 親
1a5bf7c0e5
コミット
22a12e0e5d
15ファイル変更
+7888
-1
検索条件に一致するファイルはありません
@@ -0,0 +1,13 @@
|
||||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
|
||||
|
||||
// Ported from shared/dxgi1_3.h in the Windows SDK for Windows 10.0.20348.0
|
||||
// Original source is Copyright © Microsoft. All rights reserved.
|
||||
|
||||
namespace TerraFX.Interop.DirectX
|
||||
{
|
||||
public static partial class DXGI
|
||||
{
|
||||
[NativeTypeName("#define DXGI_CREATE_FACTORY_DEBUG 0x1")]
|
||||
public const int DXGI_CREATE_FACTORY_DEBUG = 0x1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
|
||||
|
||||
// Ported from shared/dxgi1_3.h in the Windows SDK for Windows 10.0.20348.0
|
||||
// Original source is Copyright © Microsoft. All rights reserved.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Versioning;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace TerraFX.Interop.DirectX
|
||||
{
|
||||
public static unsafe partial class DirectX
|
||||
{
|
||||
[SupportedOSPlatform("windows8.1")]
|
||||
[DllImport("dxgi", ExactSpelling = true)]
|
||||
public static extern HRESULT CreateDXGIFactory2(uint Flags, [NativeTypeName("const IID &")] Guid* riid, void** ppFactory);
|
||||
|
||||
[SupportedOSPlatform("windows8.1")]
|
||||
[DllImport("dxgi", ExactSpelling = true)]
|
||||
public static extern HRESULT DXGIGetDebugInterface1(uint Flags, [NativeTypeName("const IID &")] Guid* riid, void** pDebug);
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする