Cool! So the chief thing to understand is that you can encode as much work as you want into a single command buffer; dependencies (between kernels) will be resolved automatically.
-
-
Seems the data is passed through ok as the result is the same picture with the sobel filter applied. The resize filter however isn't doing any resizing. Seems like it can't find my MPSScaleTransform
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hm still can't get the resizing to work. Are there any examples of attaching the ScaleTransform to the filter you know of? I couldn't find any, even in the documentation.
-
Hmm, let me try to whip up an example.
-
That would be awesome!
-
Seems to be working as expected here, though of course Swift makes working with pointers miserable. Hope this helps:https://www.dropbox.com/s/f6k5t9b5dbut6tb/MPSImageScaleSample.zip?dl=0 …
-
Great! It works. I was also able to chain other filters in your example. Now I'm gonna try to get it working in my own project.
End of conversation
New conversation -
-
-
I got it working! Thanks for the help!
-
Awesome! Happy to help
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

Let me know how it goes!