diff --git a/src/ComputeSharp.Graphics/GraphicsDevice.cs b/src/ComputeSharp.Graphics/GraphicsDevice.cs index dc23ecf3..b12bea47 100644 --- a/src/ComputeSharp.Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp.Graphics/GraphicsDevice.cs @@ -148,7 +148,7 @@ namespace ComputeSharp.Graphics fence = NativeComputeFence; fenceValue = NextComputeFenceValue; - NextDirectFenceValue++; + NextComputeFenceValue++; break; case CommandListType.Copy: commandAllocatorPool = CopyAllocatorPool;