How do you synchronize a Metal Performance Shader with an MTLBlitCommandEncoder?
问题 I'm trying to better understand the synchronization requirements when working with Metal Performance Shaders and an MTLBlitCommandEncoder . I have an MTLCommandBuffer that is set up as follows: Use MTLBlitCommandEncoder to copy a region of Texture A into Texture B. Texture A is larger than Texture B. I'm extracting a "tile" from Texture A and copying it into Texture B. Use an MPSImageBilinearScale metal performance shader with Texture B as the source texture and a third texture, Texture C, as