Switch ComputeSharp.Tests.DeviceLost to Vortice.Win32
このコミットが含まれているのは:
1 親
d1f5031a97
コミット
cd07b46f6a
6ファイル変更
+26
-53
検索条件に一致するファイルはありません
@@ -2,11 +2,15 @@ using System;
|
||||
using System.Threading.Tasks;
|
||||
using ComputeSharp.Interop;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using TerraFX.Interop.Windows;
|
||||
using Win32;
|
||||
using Win32.Graphics.Direct3D12;
|
||||
|
||||
#pragma warning disable IDE0065
|
||||
|
||||
namespace ComputeSharp.Tests.DeviceLost.Helpers;
|
||||
|
||||
using Win32 = Win32.Apis;
|
||||
|
||||
/// <summary>
|
||||
/// A helper to do common checks on native device objects.
|
||||
/// </summary>
|
||||
@@ -21,7 +25,7 @@ internal static class GraphicsDeviceHelper
|
||||
{
|
||||
fixed (ID3D12Device** ppvObject = d3D12Device)
|
||||
{
|
||||
InteropServices.GetID3D12Device(graphicsDevice, Windows.__uuidof<ID3D12Device>(), (void**)ppvObject);
|
||||
InteropServices.GetID3D12Device(graphicsDevice, Win32.__uuidof<ID3D12Device>(), (void**)ppvObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする