Skip to content

Commit 2558fd8

Browse files
Ok we're done here with the Streaming Buffer upload port (removed the IUtilities method triples that only did less sophisticated submits: patched and blocking)
See `createFilledDeviceLocalBufferOnDedMem` for how to wrap a utility method in a lambda and achieve the same result
1 parent f114c95 commit 2558fd8

File tree

2 files changed

+158
-207
lines changed

2 files changed

+158
-207
lines changed

include/nbl/video/IQueue.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ class IQueue : public core::Interface, public core::Unmovable
109109
virtual RESULT waitIdle() const = 0;
110110

111111
// we cannot derive from IBackendObject because we can't derive from IReferenceCounted
112-
inline bool wasCreatedBy(const ILogicalDevice* device) const { return device == m_originDevice; }
112+
inline const ILogicalDevice* getOriginDevice() const {return m_originDevice;}
113+
inline bool wasCreatedBy(const ILogicalDevice* device) const {return device==m_originDevice;}
113114
// Vulkan: const VkQueue*
114115
virtual const void* getNativeHandle() const = 0;
115116

0 commit comments

Comments
 (0)