Skip to content

Commit bfd3be3

Browse files
committed
PR reviews
1 parent b2c3a33 commit bfd3be3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

include/nbl/video/ILogicalDevice.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ class NBL_API2 ILogicalDevice : public core::IReferenceCounted, public IDeviceMe
865865
uint32_t bufferViewCount = 0u;
866866
uint32_t imageCount = 0u;
867867
uint32_t accelerationStructureCount = 0u;
868+
uint32_t accelerationStructureWriteCount = 0u;
868869
};
869870
virtual void updateDescriptorSets_impl(const SUpdateDescriptorSetsParams& params) = 0;
870871

@@ -875,6 +876,7 @@ class NBL_API2 ILogicalDevice : public core::IReferenceCounted, public IDeviceMe
875876
uint32_t bufferViewCount = 0u;
876877
uint32_t imageCount = 0u;
877878
uint32_t accelerationStructureCount = 0u;
879+
uint32_t accelerationStructureWriteCount = 0u;
878880
};
879881
virtual void nullifyDescriptors_impl(const SDropDescriptorSetsParams& params) = 0;
880882

include/nbl/video/alloc/SubAllocatedDescriptorSet.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
5858
m_composed = other.m_composed;
5959
m_addresses = other.m_addresses;
6060
m_binding = other.m_binding;
61+
62+
// Nullifying other
63+
other.m_composed = nullptr;
64+
other.m_addresses = nullptr;
65+
other.m_binding = 0;
6166
return *this;
6267
}
6368

0 commit comments

Comments
 (0)