diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 18:17:37 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 18:17:37 +0000 |
| commit | 5026a05381f82bbcdc2ff804363c96a3c1b9fa67 (patch) | |
| tree | 364b14dac9f23ff0c690d83f07ab21506c3a1b8d /Graphics/GraphicsEngineVulkan | |
| parent | Removed unused m_ResourceLayout member from ShaderVariableManagerVk and Shade... (diff) | |
| download | DiligentCore-5026a05381f82bbcdc2ff804363c96a3c1b9fa67.tar.gz DiligentCore-5026a05381f82bbcdc2ff804363c96a3c1b9fa67.zip | |
Minor comment updates
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h index 0b7e3aa0..03f5018f 100644 --- a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h +++ b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h @@ -99,7 +99,8 @@ private: IObject& m_Owner; // Variable mgr is owned by either Pipeline state object (in which case m_ResourceCache references // static resource cache owned by the same PSO object), or by SRB object (in which case - // m_ResourceCache references the cache in the SRB). Thus the cache is guaranteed to be alive. + // m_ResourceCache references the cache in the SRB). Thus the cache and the resource layout + // (which the variables reference) are guaranteed to be alive while the manager is alive. ShaderResourceCacheVk& m_ResourceCache; // Memory is allocated through the allocator provided by the pipeline state. If allocation granularity > 1, fixed block |
