「フェンス」の版間の差分

編集の要約なし
編集の要約なし
 
20行目: 20行目:
  gpu.addTask(renderTask, fence);
  gpu.addTask(renderTask, fence);
  gpu.addTask(computeTask, null);
  gpu.addTask(computeTask, null);
  gpu.waitForFence(fence); // task1とtask2の両方が終わるのを待つ
  gpu.waitForFence(fence); // renderTaskが終わるのを待つ
</source>
</source>


[[category: GPU]]
[[category: GPU]]