parent
12892a87c2
commit
eda68d2421
1 changed files with 2 additions and 1 deletions
|
|
@ -524,6 +524,8 @@ public:
|
|||
{ VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, 1 },
|
||||
{ VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, 1 },
|
||||
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1 },
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1 },
|
||||
{ VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1 },
|
||||
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, static_cast<uint32_t>(model.textures.size()) }
|
||||
};
|
||||
VkDescriptorPoolCreateInfo descriptorPoolCreateInfo = vks::initializers::descriptorPoolCreateInfo(poolSizes, 1);
|
||||
|
|
@ -778,7 +780,6 @@ public:
|
|||
updateUniformBuffers();
|
||||
if (camera.updated) {
|
||||
// If the camera's view has been updated we reset the frame accumulation
|
||||
std::cout << "Cam updated\n";
|
||||
uniformData.frame = -1;
|
||||
}
|
||||
draw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue