Added [SkipLocalsInit] attribute
このコミットが含まれているのは:
1 親
019a3b7813
コミット
291fb2826d
2ファイル変更
+3
-2
検索条件に一致するファイルはありません
@@ -558,7 +558,7 @@ namespace ComputeSharp.Graphics.Extensions
|
||||
public static unsafe TFeature CheckFeatureSupport<TFeature>(this ref ID3D12Device d3D12Device, D3D12_FEATURE d3D12Feature)
|
||||
where TFeature : unmanaged
|
||||
{
|
||||
TFeature feature;
|
||||
TFeature feature = default;
|
||||
|
||||
d3D12Device.CheckFeatureSupport(d3D12Feature, &feature, (uint)sizeof(TFeature)).Assert();
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("ComputeSharp.SourceGenerators")]
|
||||
[module: SkipLocalsInit]
|
||||
|
||||
[assembly: InternalsVisibleTo("ComputeSharp.Tests.Internals")]
|
||||
新しいイシューから参照
ユーザーをブロックする