diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-13 01:56:54 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-13 01:56:54 +0000 |
| commit | ff70b9f06e9cec2cb718b59c17be3081fbc678c1 (patch) | |
| tree | cf872f1daf29f5ed7c5c362d284e0267278b4e67 /Graphics/GraphicsEngineVulkan | |
| parent | Fixed Metal backend build error (diff) | |
| download | DiligentCore-ff70b9f06e9cec2cb718b59c17be3081fbc678c1.tar.gz DiligentCore-ff70b9f06e9cec2cb718b59c17be3081fbc678c1.zip | |
Made ICommandQueue{D3D12/Vk}::GetNextFenceValue method constant
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h b/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h index 0df7d302..1934b351 100644 --- a/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h +++ b/Graphics/GraphicsEngineVulkan/include/CommandQueueVkImpl.h @@ -55,7 +55,7 @@ public: virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface) override final; /// Implementation of ICommandQueueVk::GetNextFenceValue(). - virtual Uint64 GetNextFenceValue() override final { return m_NextFenceValue; } + virtual Uint64 GetNextFenceValue() const override final { return m_NextFenceValue; } /// Implementation of ICommandQueueVk::Submit(). virtual Uint64 Submit(VkCommandBuffer cmdBuffer) override final; diff --git a/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h b/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h index 9f8216e9..b4314d33 100644 --- a/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h +++ b/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h @@ -40,11 +40,11 @@ static constexpr INTERFACE_ID IID_CommandQueueVk = {0x9fbf582f, 0x3069, 0x41b9, {0xac, 0x5, 0x34, 0x4d, 0x5a, 0xf5, 0xce, 0x8c}}; /// Command queue interface -class ICommandQueueVk : public Diligent::IObject +class ICommandQueueVk : public IObject { public: /// Returns the fence value that will be signaled next time - virtual Uint64 GetNextFenceValue() = 0; + virtual Uint64 GetNextFenceValue() const = 0; /// Submits a given command buffer to the command queue |
