Fixed ConstantBuffer<T>.CopyTo(Buffer<T>) method
このコミットが含まれているのは:
1 親
e8f9d918dc
コミット
49e648286f
3ファイル変更
+49
-40
検索条件に一致するファイルはありません
@@ -199,12 +199,14 @@ namespace ComputeSharp.Resources
|
||||
{
|
||||
GraphicsDevice.ThrowIfDisposed();
|
||||
|
||||
ThrowIfDeviceMismatch(source.GraphicsDevice);
|
||||
ThrowIfDisposed();
|
||||
|
||||
source.ThrowIfDeviceMismatch(GraphicsDevice);
|
||||
source.ThrowIfDisposed();
|
||||
|
||||
if (!source.IsPaddingPresent &&
|
||||
source.GraphicsDevice == GraphicsDevice)
|
||||
Guard.IsLessThanOrEqualTo(source.Length, Length, nameof(Length));
|
||||
|
||||
if (!source.IsPaddingPresent)
|
||||
{
|
||||
// Directly copy the input buffer
|
||||
using CommandList copyCommandList = new(GraphicsDevice, D3D12_COMMAND_LIST_TYPE_COPY);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする