その後のその後

iOSエンジニア 堤 修一のブログ github.com/shu223

2016-12-01から1日間の記事一覧

Metalのコンピュートシェーダに関する諸々

Metal の compute shader について。随時書いていきます。 [[ thread_position_in_grid ]] って何? こういう感じで、カーネル関数の引数から受け取れるやつ。 kernel void add_vectors(const device float4 *inA [[ buffer(0) ]], const device float4 *inB…