From 47e9d6725a650a3fda9b443b5c7ee68163c2c7f5 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 21 Aug 2018 08:41:50 -0700 Subject: Fixed https://github.com/DiligentGraphics/DiligentCore/issues/21 (Make messages about unmapped dynamic buffers more verbose) --- Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index ecd91282..408e85ed 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -202,12 +202,8 @@ namespace Diligent #ifdef DEVELOPMENT for (Uint32 s = 0; s < NumShaders; ++s) { -#ifdef VERIFY_SHADER_BINDINGS - { - pShaderResBindingD3D11->GetResourceLayout(s).dbgVerifyBindings(); - // Static resource bindings are verified in BindStaticShaderResources() - } -#endif + pShaderResBindingD3D11->GetResourceLayout(s).dbgVerifyBindings(); + // Static resource bindings are verified in BindStaticShaderResources() } #endif @@ -598,7 +594,7 @@ namespace Diligent -#ifdef VERIFY_SHADER_BINDINGS +#ifdef DEVELOPMENT if( CommitResources && m_DebugFlags & (Uint32)EngineD3D11DebugFlags::VerifyCommittedShaderResources ) { // Use full resource layout to verify that all required resources are committed -- cgit v1.2.3