From 6cbfab6eca94af1fbec7f5e51e66fd473258005e Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 29 Nov 2024 17:10:57 +1000 Subject: [PATCH] MetalDevice: Warning fix --- src/util/metal_device.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/metal_device.mm b/src/util/metal_device.mm index 14584bbea..afbc19776 100644 --- a/src/util/metal_device.mm +++ b/src/util/metal_device.mm @@ -2514,7 +2514,6 @@ void MetalDevice::Dispatch(u32 threads_x, u32 threads_y, u32 threads_z, u32 grou } DebugAssert(m_current_pipeline && m_current_pipeline->IsComputePipeline()); - id pipeline = m_current_pipeline->GetComputePipelineState(); // TODO: We could remap to the optimal group size.. [m_compute_encoder dispatchThreads:MTLSizeMake(threads_x, threads_y, threads_z)