Validation fixes, resource cleanup

This commit is contained in:
saschawillems 2018-09-07 12:31:48 +02:00
parent fbc6154921
commit 0b7804d8f3
2 changed files with 4 additions and 2 deletions

View file

@ -91,7 +91,7 @@ public:
} pushBlock;
pushBlock.baseColorFactor = primitive->material.baseColorFactor;
vkCmdPushConstants(commandBuffer, pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0, sizeof(PushBlock), &pushBlock);
vkCmdPushConstants(commandBuffer, pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0, sizeof(PushBlock), &pushBlock);
/*
[POI] Setup the conditional rendering