| 321 | } |
| 322 | |
| 323 | void |
| 324 | Algorithm::recordBindCore(const vk::CommandBuffer& commandBuffer) |
| 325 | { |
| 326 | KP_LOG_DEBUG("Kompute Algorithm binding pipeline"); |
| 327 | |
| 328 | commandBuffer.bindPipeline(vk::PipelineBindPoint::eCompute, |
| 329 | *this->mPipeline); |
| 330 | |
| 331 | KP_LOG_DEBUG("Kompute Algorithm binding descriptor sets"); |
| 332 | |
| 333 | commandBuffer.bindDescriptorSets(vk::PipelineBindPoint::eCompute, |
| 334 | *this->mPipelineLayout, |
| 335 | 0, // First set |
| 336 | *this->mDescriptorSet, |
| 337 | nullptr // Dispatcher |
| 338 | ); |
| 339 | } |
| 340 | |
| 341 | void |
| 342 | Algorithm::recordBindPush(const vk::CommandBuffer& commandBuffer) |