Metal supports kernelin addition to the standard functions vertexand fragment. I found a metal example kernelthat converts an image to shades of gray.
What is the difference between this in kernelvs fragment? What can calculate kernel(better) what a shader fragmentcannot and vice versa?
source
share