@@ -203,8 +203,10 @@ class CAssetConverter : public core::IReferenceCounted
203
203
public:
204
204
PATCH_IMPL_BOILERPLATE (asset::ICPUBottomLevelAccelerationStructure);
205
205
206
- protected:
207
206
using build_flags_t = asset::ICPUBottomLevelAccelerationStructure::BUILD_FLAGS;
207
+ core::bitflag<build_flags_t > getBuildFlags (const asset::ICPUBottomLevelAccelerationStructure* blas) const ;
208
+
209
+ protected:
208
210
inline std::pair<bool ,this_t > combine (const this_t & other) const
209
211
{
210
212
return combine_impl<this_t >(*this ,other);
@@ -216,8 +218,10 @@ class CAssetConverter : public core::IReferenceCounted
216
218
public:
217
219
PATCH_IMPL_BOILERPLATE (asset::ICPUTopLevelAccelerationStructure);
218
220
219
- protected:
220
221
using build_flags_t = asset::ICPUTopLevelAccelerationStructure::BUILD_FLAGS;
222
+ core::bitflag<build_flags_t > getBuildFlags (const asset::ICPUTopLevelAccelerationStructure* tlas) const ;
223
+
224
+ protected:
221
225
inline std::pair<bool ,this_t > combine (const this_t & other) const
222
226
{
223
227
return combine_impl<this_t >(*this ,other);
@@ -795,6 +799,16 @@ class CAssetConverter : public core::IReferenceCounted
795
799
return {};
796
800
}
797
801
802
+ // this a weird signature, but its for an acceleration structure backing IGPUBuffer
803
+ virtual inline std::span<const uint32_t > getSharedOwnershipQueueFamilies (const size_t groupCopyID, const asset::ICPUBottomLevelAccelerationStructure* blas, const patch_t <asset::ICPUBottomLevelAccelerationStructure>& patch) const
804
+ {
805
+ return {};
806
+ }
807
+ virtual inline std::span<const uint32_t > getSharedOwnershipQueueFamilies (const size_t groupCopyID, const asset::ICPUTopLevelAccelerationStructure* tlas, const patch_t <asset::ICPUTopLevelAccelerationStructure>& patch) const
808
+ {
809
+ return {};
810
+ }
811
+
798
812
virtual inline std::span<const uint32_t > getSharedOwnershipQueueFamilies (const size_t groupCopyID, const asset::ICPUImage* buffer, const patch_t <asset::ICPUImage>& patch) const
799
813
{
800
814
return {};
0 commit comments