From 93e5b718e8497a0a70eb14dffe120c9ca6d99fd8 Mon Sep 17 00:00:00 2001 From: skallweitNV <64953474+skallweitNV@users.noreply.github.com> Date: Wed, 8 May 2024 19:19:08 +0200 Subject: [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 --- tools/gfx/vulkan/vk-command-encoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gfx/vulkan/vk-command-encoder.h') 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); }; -- cgit v1.2.3