fix some trivial ide warnings

This commit is contained in:
Mathias Agopian
2022-09-13 14:51:59 -07:00
committed by Mathias Agopian
parent d346b94b8a
commit a8765b1dc0
2 changed files with 6 additions and 4 deletions

View File

@@ -22,6 +22,8 @@
#include <filament/SwapChain.h>
#include <backend/DriverEnums.h>
#include "private/backend/BackendUtils.h"
#include <utils/Panic.h>

View File

@@ -117,18 +117,18 @@ struct VulkanRenderPrimitive : public HwRenderPrimitive {
};
struct VulkanFence : public HwFence {
VulkanFence(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
explicit VulkanFence(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
std::shared_ptr<VulkanCmdFence> fence;
};
struct VulkanSync : public HwSync {
VulkanSync() {}
VulkanSync(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
VulkanSync() = default;
explicit VulkanSync(const VulkanCommandBuffer& commands) : fence(commands.fence) {}
std::shared_ptr<VulkanCmdFence> fence;
};
struct VulkanTimerQuery : public HwTimerQuery {
VulkanTimerQuery(VulkanContext& context);
explicit VulkanTimerQuery(VulkanContext& context);
~VulkanTimerQuery();
uint32_t startingQueryIndex;
uint32_t stoppingQueryIndex;