Validation fixes, resource cleanup
This commit is contained in:
parent
fbc6154921
commit
0b7804d8f3
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue