diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-09-21 03:39:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-09-21 03:39:39 +0000 |
| commit | b06bef98cbe17f2a1752e689827e51cbe05a2406 (patch) | |
| tree | c5e5690e0a9b9d0799fad4ca09a6446412fe5c45 /Graphics/GraphicsEngine | |
| parent | Refactored device object release queues (diff) | |
| download | DiligentCore-b06bef98cbe17f2a1752e689827e51cbe05a2406.tar.gz DiligentCore-b06bef98cbe17f2a1752e689827e51cbe05a2406.zip | |
Fixed linux/mac/iOS build
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/BufferBase.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/include/PipelineStateBase.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngine/include/TextureBase.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Graphics/GraphicsEngine/include/BufferBase.h b/Graphics/GraphicsEngine/include/BufferBase.h index 0170dd20..bc2d277b 100644 --- a/Graphics/GraphicsEngine/include/BufferBase.h +++ b/Graphics/GraphicsEngine/include/BufferBase.h @@ -106,8 +106,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; } IMPLEMENT_QUERY_INTERFACE_IN_PLACE( IID_Buffer, TDeviceObjectBase ) diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.h b/Graphics/GraphicsEngine/include/PipelineStateBase.h index 83e1a44b..c8451585 100644 --- a/Graphics/GraphicsEngine/include/PipelineStateBase.h +++ b/Graphics/GraphicsEngine/include/PipelineStateBase.h @@ -167,8 +167,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; } ~PipelineStateBase() diff --git a/Graphics/GraphicsEngine/include/TextureBase.h b/Graphics/GraphicsEngine/include/TextureBase.h index 0b9f923f..39f98b5c 100644 --- a/Graphics/GraphicsEngine/include/TextureBase.h +++ b/Graphics/GraphicsEngine/include/TextureBase.h @@ -112,8 +112,8 @@ public: } Uint64 DeviceQueuesMask = pDevice->GetCommandQueueMask(); - DEV_CHECK_ERR( (m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); - m_Desc.CommandQueueMask &= DeviceQueuesMask; + DEV_CHECK_ERR( (this->m_Desc.CommandQueueMask & DeviceQueuesMask) != 0, "No bits in the command queue mask (0x", std::hex, this->m_Desc.CommandQueueMask, ") correspond to one of ", pDevice->GetCommandQueueCount(), " available device command queues"); + this->m_Desc.CommandQueueMask &= DeviceQueuesMask; // Validate correctness of texture description ValidateTextureDesc( this->m_Desc ); |
