MetalDevice: Warning fix
This commit is contained in:
parent
9970944da2
commit
6cbfab6eca
|
@ -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());
|
DebugAssert(m_current_pipeline && m_current_pipeline->IsComputePipeline());
|
||||||
id<MTLComputePipelineState> pipeline = m_current_pipeline->GetComputePipelineState();
|
|
||||||
|
|
||||||
// TODO: We could remap to the optimal group size..
|
// TODO: We could remap to the optimal group size..
|
||||||
[m_compute_encoder dispatchThreads:MTLSizeMake(threads_x, threads_y, threads_z)
|
[m_compute_encoder dispatchThreads:MTLSizeMake(threads_x, threads_y, threads_z)
|
||||||
|
|
Loading…
Reference in New Issue