summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-08-21 15:41:50 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-08-21 15:41:50 +0000
commit47e9d6725a650a3fda9b443b5c7ee68163c2c7f5 (patch)
tree50d2aeb7705a62e704701a683841da6d16727a15 /Graphics/GraphicsEngineD3D11
parentFixed https://github.com/DiligentGraphics/DiligentCore/issues/19 (Add support... (diff)
downloadDiligentCore-47e9d6725a650a3fda9b443b5c7ee68163c2c7f5.tar.gz
DiligentCore-47e9d6725a650a3fda9b443b5c7ee68163c2c7f5.zip
Fixed https://github.com/DiligentGraphics/DiligentCore/issues/21 (Make messages about unmapped dynamic buffers more verbose)
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rwxr-xr-xGraphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp10
1 files changed, 3 insertions, 7 deletions
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