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)