Add check for double precision in D2D1 generator
このコミットが含まれているのは:
1 親
034eeb3610
コミット
f16dcab8fd
8ファイル変更
+92
-5
検索条件に一致するファイルはありません
@@ -1,6 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<DefineConstants>$(DefineConstants);D3D12_GENERATOR</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Windows.Win32.Foundation;
|
||||
using Windows.Win32.System.Com;
|
||||
|
||||
namespace Windows.Win32;
|
||||
@@ -43,6 +44,18 @@ internal unsafe struct ComPtr<T> : IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Increments the reference count for the current COM object, if any, and copies its address to a target raw pointer.</summary>
|
||||
/// <param name="ptr">The target raw pointer to copy the address of the current COM object to.</param>
|
||||
/// <returns>This method always returns <see cref="HRESULT.S_OK"/>.</returns>
|
||||
public readonly HRESULT CopyTo(T** ptr)
|
||||
{
|
||||
_ = ((IUnknown*)this.ptr)->AddRef();
|
||||
|
||||
*ptr = this.ptr;
|
||||
|
||||
return HRESULT.S_OK;
|
||||
}
|
||||
|
||||
/// <summary>Gets the currently wrapped raw pointer to a COM object.</summary>
|
||||
/// <returns>The raw pointer wrapped by the current <see cref="ComPtr{T}"/> instance.</returns>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
||||
@@ -4,4 +4,5 @@ DxcCreateInstance
|
||||
IDxcCompiler3
|
||||
IDxcUtils
|
||||
IDxcResult
|
||||
IUnknown
|
||||
IUnknown
|
||||
S_OK
|
||||
新しいイシューから参照
ユーザーをブロックする