summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2018-11-03 07:40:12 +0000
committerEgor <egor.yusov@gmail.com>2018-11-03 07:40:12 +0000
commit0cb37acdadbe609f3e0d31c990f47c4ef9c8dd31 (patch)
tree7665de2338d6b295c5c7e41c67f76e530afe24d9 /Graphics/GLSLTools
parentFixed few linux build issues (diff)
downloadDiligentCore-0cb37acdadbe609f3e0d31c990f47c4ef9c8dd31.tar.gz
DiligentCore-0cb37acdadbe609f3e0d31c990f47c4ef9c8dd31.zip
Fixed multiple linux build issues in Vk backend
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/include/SPIRVShaderResources.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GLSLTools/include/SPIRVShaderResources.h b/Graphics/GLSLTools/include/SPIRVShaderResources.h
index 56c4253f..0a798495 100644
--- a/Graphics/GLSLTools/include/SPIRVShaderResources.h
+++ b/Graphics/GLSLTools/include/SPIRVShaderResources.h
@@ -378,14 +378,14 @@ private:
Uint32 NumShaderStageInputs,
size_t ResourceNamesPoolSize);
- __forceinline SPIRVShaderResourceAttribs& GetResAttribs(Uint32 n, Uint32 NumResources, Uint32 Offset)noexcept
+ SPIRVShaderResourceAttribs& GetResAttribs(Uint32 n, Uint32 NumResources, Uint32 Offset)noexcept
{
VERIFY(n < NumResources, "Resource index (", n, ") is out of range. Total resource count: ", NumResources);
VERIFY_EXPR(Offset + n < m_TotalResources);
return reinterpret_cast<SPIRVShaderResourceAttribs*>(m_MemoryBuffer.get())[Offset + n];
}
- __forceinline const SPIRVShaderResourceAttribs& GetResAttribs(Uint32 n, Uint32 NumResources, Uint32 Offset)const noexcept
+ const SPIRVShaderResourceAttribs& GetResAttribs(Uint32 n, Uint32 NumResources, Uint32 Offset)const noexcept
{
VERIFY(n < NumResources, "Resource index (", n, ") is out of range. Total resource count: ", NumResources);
VERIFY_EXPR(Offset + n < m_TotalResources);