Remove ComPtr<T>.GetVoidAddressOf from DX12 projects

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-12 23:13:51 +02:00
1 親 4839b40fa5
コミット 960ce21899
12ファイル変更
+31 -51

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -115,7 +115,7 @@ public static class ReflectionServices
DirectX.DxcCreateInstance(
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID.CLSID_DxcLibrary)),
Windows.__uuidof<IDxcUtils>(),
dxcUtils.GetVoidAddressOf()).Assert();
(void**)dxcUtils.GetAddressOf()).Assert();
using ComPtr<ID3D12ShaderReflection> d3D12ShaderReflection = default;
@@ -126,7 +126,7 @@ public static class ReflectionServices
dxcUtils.Get()->CreateReflection(
&dxcBuffer,
Windows.__uuidof<ID3D12ShaderReflection>(),
d3D12ShaderReflection.GetVoidAddressOf()).Assert();
(void**)d3D12ShaderReflection.GetAddressOf()).Assert();
D3D12_SHADER_DESC d3D12ShaderDescription;
+2 -2
ファイルの表示
@@ -46,12 +46,12 @@ internal sealed unsafe partial class ShaderCompiler
DirectX.DxcCreateInstance(
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID.CLSID_DxcCompiler)),
Windows.__uuidof<IDxcCompiler>(),
dxcCompiler.GetVoidAddressOf()).Assert();
(void**)dxcCompiler.GetAddressOf()).Assert();
DirectX.DxcCreateInstance(
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID.CLSID_DxcLibrary)),
Windows.__uuidof<IDxcLibrary>(),
dxcLibrary.GetVoidAddressOf()).Assert();
(void**)dxcLibrary.GetAddressOf()).Assert();
dxcLibrary.Get()->CreateIncludeHandler(dxcIncludeHandler.GetAddressOf()).Assert();