MTLStepFunction.threadPositionInGridYIndexed
The compute function fetches data by using the thread’s y coordinate to look up a value in the index buffer.
Declaration
case threadPositionInGridYIndexedDiscussion
This step function uses the y coordinate of the thread position in a grid as an index into the [[stage_in]] index buffer, which is then used to fetch data. In tessellation compute kernels, you use this step function to identify a control point in a given patch.