File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ class Algorithm
291291
292292 void destroy ();
293293
294- private :
294+ protected :
295295 // -------------- NEVER OWNED RESOURCES
296296 std::shared_ptr<vk::Device> mDevice ;
297297 std::vector<std::shared_ptr<Memory>> mMemObjects ;
@@ -312,6 +312,7 @@ class Algorithm
312312 std::shared_ptr<vk::Pipeline> mPipeline ;
313313 bool mFreePipeline = false ;
314314
315+ private:
315316 // -------------- ALWAYS OWNED RESOURCES
316317 std::vector<uint32_t > mSpirv ;
317318 void * mSpecializationConstantsData = nullptr ;
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
276276 */
277277 void destroy ();
278278
279- private :
279+ protected :
280280 // -------------- NEVER OWNED RESOURCES
281281 std::shared_ptr<vk::PhysicalDevice> mPhysicalDevice = nullptr ;
282282 std::shared_ptr<vk::Device> mDevice = nullptr ;
@@ -298,6 +298,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
298298 bool mRecording = false ;
299299 bool mIsRunning = false ;
300300
301+ private:
301302 // Create functions
302303 void createCommandPool ();
303304 void createCommandBuffer ();
You can’t perform that action at this time.
0 commit comments