summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-06 18:17:37 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-06 18:17:37 +0000
commit5026a05381f82bbcdc2ff804363c96a3c1b9fa67 (patch)
tree364b14dac9f23ff0c690d83f07ab21506c3a1b8d /Graphics/GraphicsEngineVulkan
parentRemoved unused m_ResourceLayout member from ShaderVariableManagerVk and Shade... (diff)
downloadDiligentCore-5026a05381f82bbcdc2ff804363c96a3c1b9fa67.tar.gz
DiligentCore-5026a05381f82bbcdc2ff804363c96a3c1b9fa67.zip
Minor comment updates
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h3
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