MetalDevice: Warning fix

This commit is contained in:
Stenzek 2024-11-29 17:10:57 +10:00
parent 9970944da2
commit 6cbfab6eca
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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<MTLComputePipelineState> 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)