From 859eb02ccdca5c2a69935e011810490b986cb719 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 22 Feb 2021 18:01:50 -0800 Subject: Implemented committed resource validation in d3d12 --- Graphics/GraphicsEngineD3DBase/include/ShaderResources.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Graphics/GraphicsEngineD3DBase') 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 + 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; } -- cgit v1.2.3