From 7b7c095b37e85ca3a8f55eff1c3d9643d467b8e0 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 25 Apr 2023 10:43:29 -0400 Subject: Dictionary using lowerCamel (#2835) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP lowerCamel Dictionary. * WIP more lowerCamel fixes for Dictionary. * Add/Remove/Clear * GetValue/Contains * Fix tabs in dictionary. Count -> getCount * Fix fields with caps. * Key -> key Value -> value Use m_ for members where appropriate. Use lowerCamel in linked list. * Some small fixes/improvements to Dictionary. * Kick CI. --- tools/gfx/renderer-shared.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gfx/renderer-shared.h') diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h index c7137f0fa..38aa775be 100644 --- a/tools/gfx/renderer-shared.h +++ b/tools/gfx/renderer-shared.h @@ -1121,7 +1121,7 @@ public: Slang::RefPtr getSpecializedPipelineState(PipelineKey programKey) { Slang::RefPtr result; - if (specializedPipelines.TryGetValue(programKey, result)) + if (specializedPipelines.tryGetValue(programKey, result)) return result; return nullptr; } @@ -1199,7 +1199,7 @@ public: TransientResourceHeapBase* transientHeap, IResourceCommandEncoder* encoder) { - if (auto ptr = m_deviceBuffers.TryGetValue(pipeline)) + if (auto ptr = m_deviceBuffers.tryGetValue(pipeline)) { return ptr->Ptr(); } -- cgit v1.2.3