MCPcopy Create free account
hub / github.com/KomputeProject/kompute / recordBindPush

Method recordBindPush

src/Algorithm.cpp:341–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void
342Algorithm::recordBindPush(const vk::CommandBuffer& commandBuffer)
343{
344 if (this->mPushConstantsSize) {
345 KP_LOG_DEBUG("Kompute Algorithm binding push constants memory size: {}",
346 this->mPushConstantsSize *
347 this->mPushConstantsDataTypeMemorySize);
348
349 commandBuffer.pushConstants(*this->mPipelineLayout,
350 vk::ShaderStageFlagBits::eCompute,
351 0,
352 this->mPushConstantsSize *
353 this->mPushConstantsDataTypeMemorySize,
354 this->mPushConstantsData);
355 }
356}
357
358void
359Algorithm::recordDispatch(const vk::CommandBuffer& commandBuffer)

Callers 1

recordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected