summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-02-23 02:01:50 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 00:38:10 +0000
commit859eb02ccdca5c2a69935e011810490b986cb719 (patch)
treef7594cd1dcaae6edc6a0cb9e8d292e79ccb6fb13 /Graphics/GraphicsEngineD3DBase
parentFixed bug in DescriptorHeapAllocationManager (diff)
downloadDiligentCore-859eb02ccdca5c2a69935e011810490b986cb719.tar.gz
DiligentCore-859eb02ccdca5c2a69935e011810490b986cb719.zip
Implemented committed resource validation in d3d12
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp b/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp
index dcd0289b..69a61bf2 100644
--- a/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp
+++ b/Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp
@@ -372,6 +372,11 @@ public:
HandleAccelStruct(AS, n);
}
}
+ template <typename THandler>
+ void ProcessResources(THandler Handler) const
+ {
+ ProcessResources(Handler, Handler, Handler, Handler, Handler, Handler, Handler);
+ }
bool IsCompatibleWith(const ShaderResources& Resources) const;
bool IsUsingCombinedTextureSamplers() const { return m_SamplerSuffix != nullptr; }