Fixed compiler warnings
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
de46d30678
commit
88b06ad521
9 changed files with 31 additions and 33 deletions
|
|
@ -235,15 +235,15 @@ class Sequence : public std::enable_shared_from_this<Sequence>
|
|||
*
|
||||
* @return Boolean stating if recording ongoing.
|
||||
*/
|
||||
bool isRecording();
|
||||
[[nodiscard]] bool isRecording() const;
|
||||
|
||||
/**
|
||||
* Returns true if the sequence has been initialised, and it's based on the
|
||||
* GPU resources being refrenced.
|
||||
* GPU resources being referenced.
|
||||
*
|
||||
* @return Boolean stating if is initialized
|
||||
*/
|
||||
bool isInit();
|
||||
[[nodiscard]] bool isInit() const;
|
||||
|
||||
/**
|
||||
* Clears command buffer and triggers re-record of all the current
|
||||
|
|
@ -258,7 +258,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
|
|||
*
|
||||
* @return Boolean stating if currently running.
|
||||
*/
|
||||
bool isRunning();
|
||||
[[nodiscard]] bool isRunning() const;
|
||||
|
||||
/**
|
||||
* Destroys and frees the GPU resources which include the buffer and memory
|
||||
|
|
@ -281,7 +281,7 @@ class Sequence : public std::enable_shared_from_this<Sequence>
|
|||
|
||||
// -------------- ALWAYS OWNED RESOURCES
|
||||
vk::Fence mFence;
|
||||
std::vector<std::shared_ptr<OpBase>> mOperations;
|
||||
std::vector<std::shared_ptr<OpBase>> mOperations{};
|
||||
std::shared_ptr<vk::QueryPool> timestampQueryPool = nullptr;
|
||||
|
||||
// State
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue