diff options
Diffstat (limited to 'tools/gfx/renderer-shared.h')
| -rw-r--r-- | tools/gfx/renderer-shared.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h index fc1c35d20..01111e292 100644 --- a/tools/gfx/renderer-shared.h +++ b/tools/gfx/renderer-shared.h @@ -5,6 +5,8 @@ #include "core/slang-basic.h" #include "core/slang-com-object.h" +#include "persistent-shader-cache.h" + #include "resource-desc-utils.h" namespace gfx @@ -1372,10 +1374,7 @@ public: SlangContext slangContext; ShaderCache shaderCache; - // TODO: These should be removed when ShaderCacheIndex is ready to be integrated. ShaderCacheIndex - // will be responsible for keeping track of the underlying filesystem for the cache. - ISlangFileSystem* shaderCacheFileSystem = nullptr; - ComPtr<ISlangMutableFileSystem> mutableShaderCacheFileSystem = nullptr; + RefPtr<PersistentShaderCache> persistentShaderCache = nullptr; Slang::Dictionary<slang::TypeLayoutReflection*, Slang::RefPtr<ShaderObjectLayoutBase>> m_shaderObjectLayoutCache; Slang::ComPtr<IPipelineCreationAPIDispatcher> m_pipelineCreationAPIDispatcher; |
