Optimize reference tracking logic
Remove one object field and virtual stub dispatch calls
このコミットが含まれているのは:
1 親
93a98a60ac
コミット
05eff37ff0
23ファイル変更
+192
-244
検索条件に一致するファイルはありません
@@ -55,7 +55,7 @@ public unsafe abstract class TransferTexture3D<T> : NativeObject, IGraphicsResou
|
||||
Guard.IsBetweenOrEqualTo(height, 1, D3D12.D3D12_REQ_TEXTURE3D_U_V_OR_W_DIMENSION);
|
||||
Guard.IsBetweenOrEqualTo(depth, 1, D3D12.D3D12_REQ_TEXTURE3D_U_V_OR_W_DIMENSION);
|
||||
|
||||
using var _0 = device.GetReferenceTracker().GetLease();
|
||||
using var _0 = device.GetReferenceTrackingLease();
|
||||
|
||||
device.ThrowIfDeviceLost();
|
||||
|
||||
@@ -123,7 +123,7 @@ public unsafe abstract class TransferTexture3D<T> : NativeObject, IGraphicsResou
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
using var _0 = this.GetReferenceTracker().GetLease();
|
||||
using var _0 = this.GetReferenceTrackingLease();
|
||||
|
||||
return new(this.mappedData, Width, Height, Depth, (int)this.d3D12PlacedSubresourceFootprint.Footprint.RowPitch);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする