Added tests for push constants of all and mixed types
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
parent
c23573eb47
commit
858a70d9b8
7 changed files with 304 additions and 35 deletions
|
|
@ -338,8 +338,8 @@ void
|
|||
Algorithm::recordBindPush(const vk::CommandBuffer& commandBuffer)
|
||||
{
|
||||
if (this->mPushConstantsSize) {
|
||||
KP_LOG_DEBUG("Kompute Algorithm binding push constants size: {}",
|
||||
this->mPushConstantsSize);
|
||||
KP_LOG_DEBUG("Kompute Algorithm binding push constants memory size: {}",
|
||||
this->mPushConstantsSize * this->mPushConstantsDataTypeMemorySize);
|
||||
|
||||
commandBuffer.pushConstants(*this->mPipelineLayout,
|
||||
vk::ShaderStageFlagBits::eCompute,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue