summaryrefslogtreecommitdiffstats
path: root/Graphics/GLSLTools
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-03-26 18:40:00 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-03-26 18:40:00 +0000
commit09b9f1dc1ec69683c3143f309e6e8a0141361624 (patch)
treeb6f1a63031e72e09d313f681a311eb3043405441 /Graphics/GLSLTools
parentFixed latest MSVC (19.25.28610.4) build issue (diff)
downloadDiligentCore-09b9f1dc1ec69683c3143f309e6e8a0141361624.tar.gz
DiligentCore-09b9f1dc1ec69683c3143f309e6e8a0141361624.zip
Renamed _DEBUG and DEVELOPMENT macros to DILGENT_DEBUG and DILIGENT_DEVELOPMENT
Diffstat (limited to 'Graphics/GLSLTools')
-rw-r--r--Graphics/GLSLTools/src/SPIRVShaderResources.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GLSLTools/src/SPIRVShaderResources.cpp b/Graphics/GLSLTools/src/SPIRVShaderResources.cpp
index 6d9dbb5e..6e2ab0a6 100644
--- a/Graphics/GLSLTools/src/SPIRVShaderResources.cpp
+++ b/Graphics/GLSLTools/src/SPIRVShaderResources.cpp
@@ -450,7 +450,7 @@ SPIRVShaderResources::SPIRVShaderResources(IMemoryAllocator& Allocator,
SamplerInd);
if (ResType == SPIRVShaderResourceAttribs::ResourceType::SeparateImage && pNewSepImg->IsValidSepSamplerAssigned())
{
-#ifdef DEVELOPMENT
+#ifdef DILIGENT_DEVELOPMENT
const auto& SepSmplr = GetSepSmplr(pNewSepImg->GetAssignedSepSamplerInd());
DEV_CHECK_ERR(SepSmplr.ArraySize == 1 || SepSmplr.ArraySize == pNewSepImg->ArraySize,
"Array size (", SepSmplr.ArraySize, ") of separate sampler variable '",
@@ -488,7 +488,7 @@ SPIRVShaderResources::SPIRVShaderResources(IMemoryAllocator& Allocator,
//LOG_INFO_MESSAGE(DumpResources());
-#ifdef DEVELOPMENT
+#ifdef DILIGENT_DEVELOPMENT
if (CombinedSamplerSuffix != nullptr)
{
for (Uint32 n = 0; n < GetNumSepSmplrs(); ++n)