From 00219a5bdbe63aee3957de193fe640f499f01eb4 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 13 Mar 2021 18:11:59 -0800 Subject: Renamed Align to AlignUp --- Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp b/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp index ea457eb4..755d0280 100644 --- a/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp +++ b/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp @@ -443,7 +443,7 @@ public: const auto ShaderGroupBaseAlignment = this->m_pDevice->GetProperties().ShaderGroupBaseAlignment; const auto AlignToLarger = [ShaderGroupBaseAlignment](size_t offset) -> Uint32 { - return Align(static_cast(offset), ShaderGroupBaseAlignment); + return AlignUp(static_cast(offset), ShaderGroupBaseAlignment); }; const Uint32 RayGenOffset = 0; -- cgit v1.2.3