Skip to content

Commit

Permalink
Merge pull request #824 from siystar/collectresourcerequirements
Browse files Browse the repository at this point in the history
[FIXED] removed externalNumDescriptorSets for ViewDependentState
  • Loading branch information
robertosfield authored May 21, 2023
2 parents ebaac92 + 66bcbe0 commit e544f7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vsg/vk/ResourceRequirements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ void CollectResourceRequirements::apply(const View& view)

if (view.viewDependentState)
{
uint32_t numBufferedDescriptorSets = 3;
requirements.externalNumDescriptorSets += numBufferedDescriptorSets;
requirements.descriptorTypeMap[VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER] += numBufferedDescriptorSets;
if (requirements.maxSlot < 2) requirements.maxSlot = 2;

view.viewDependentState->accept(*this);
Expand Down

0 comments on commit e544f7f

Please sign in to comment.