From 09b9f1dc1ec69683c3143f309e6e8a0141361624 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 26 Mar 2020 11:40:00 -0700 Subject: Renamed _DEBUG and DEVELOPMENT macros to DILGENT_DEBUG and DILIGENT_DEVELOPMENT --- Graphics/GLSLTools/src/SPIRVShaderResources.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GLSLTools') 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) -- cgit v1.2.3