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-encoder.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-encoder.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-command-encoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx/vulkan/vk-command-encoder.h b/tools/gfx/vulkan/vk-command-encoder.h index ddb980d6a..ae6d510ea 100644 --- a/tools/gfx/vulkan/vk-command-encoder.h +++ b/tools/gfx/vulkan/vk-command-encoder.h @@ -40,11 +40,11 @@ public: void uploadBufferDataImpl(IBufferResource* buffer, Offset offset, Size size, void* data); - Result bindRootShaderObjectImpl(VkPipelineBindPoint bindPoint); + Result bindRootShaderObjectImpl(RootShaderObjectImpl* rootShaderObject, VkPipelineBindPoint bindPoint); Result setPipelineStateImpl(IPipelineState* state, IShaderObject** outRootObject); - Result setPipelineStateWithRootObjectImpl(IPipelineState* state, IShaderObject* inObject); + Result setPipelineStateWithRootObjectImpl(IPipelineState* state, IShaderObject* rootObject); Result bindRenderState(VkPipelineBindPoint pipelineBindPoint); }; |
