diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-05-08 19:19:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-08 10:19:08 -0700 |
| commit | 93e5b718e8497a0a70eb14dffe120c9ca6d99fd8 (patch) | |
| tree | 61aba93a5d19ba74835129bd22b17bae652ee2de /tools/gfx/vulkan/vk-command-buffer.h | |
| parent | 4f2330d059ab5943ddf33bfed37be6a0378d43a8 (diff) | |
[gfx] Cache mutable root shader object in Vulkan (#4119)
* fix comment
* add caching of mutable root shader objects in vulkan
* Fix.
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-command-buffer.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-command-buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-command-buffer.h b/tools/gfx/vulkan/vk-command-buffer.h index 3d6c86a95..1c1c76ebd 100644 --- a/tools/gfx/vulkan/vk-command-buffer.h +++ b/tools/gfx/vulkan/vk-command-buffer.h @@ -34,6 +34,7 @@ public: BreakableReference<TransientResourceHeapImpl> m_transientHeap; bool m_isPreCommandBufferEmpty = true; RootShaderObjectImpl m_rootObject; + RefPtr<MutableRootShaderObjectImpl> m_mutableRootShaderObject; RefPtr<ResourceCommandEncoder> m_resourceCommandEncoder; RefPtr<ComputeCommandEncoder> m_computeCommandEncoder; |
