Enable ComputeSharp.D2D1.Tests multi-targeting
このコミットが含まれているのは:
1 親
b3a709b78b
コミット
c3baa74116
8ファイル変更
+36
-31
検索条件に一致するファイルはありません
+1
-12
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.CompilerServices;
|
||||
using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
|
||||
|
||||
#pragma warning disable CS0649
|
||||
@@ -109,15 +108,5 @@ partial struct PixelShaderEffect
|
||||
return ref @this[index];
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="Span{T}"/> with the <see cref="ID2D1ResourceTextureManager"/> items in the current instance.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="Span{T}"/> with the <see cref="ID2D1ResourceTextureManager"/> items in the current instance.</returns>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public Span<ID2D1ResourceTextureManager> AsSpan()
|
||||
{
|
||||
return new((ID2D1ResourceTextureManager**)Unsafe.AsPointer(ref this), 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -286,8 +286,7 @@ internal unsafe partial struct PixelShaderEffect
|
||||
@this->d2D1TransformMapperHandle = GCHandle.Alloc(d2D1TransformMapper);
|
||||
@this->d2D1DrawInfo = null;
|
||||
@this->d2D1EffectContext = null;
|
||||
|
||||
@this->resourceTextureManagerBuffer.AsSpan().Clear();
|
||||
@this->resourceTextureManagerBuffer = default;
|
||||
|
||||
*effectImpl = (IUnknown*)@this;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする