Updated constants to be set as part of descriptor layout
This commit is contained in:
parent
9edbac4b94
commit
c211c22a78
7 changed files with 106 additions and 24 deletions
|
|
@ -34,8 +34,12 @@ OpAlgoDispatch::record(const vk::CommandBuffer& commandBuffer)
|
|||
vk::PipelineStageFlagBits::eComputeShader);
|
||||
}
|
||||
|
||||
if (this->mPushConstants.size()) {
|
||||
this->mAlgorithm->setPush(this->mPushConstants);
|
||||
}
|
||||
|
||||
this->mAlgorithm->bindCore(commandBuffer);
|
||||
this->mAlgorithm->bindPush(commandBuffer, this->mPushConstants);
|
||||
this->mAlgorithm->bindPush(commandBuffer);
|
||||
this->mAlgorithm->recordDispatch(commandBuffer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue