summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp2
1 files changed, 1 insertions, 1 deletions
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<Uint32>(offset), ShaderGroupBaseAlignment);
+ return AlignUp(static_cast<Uint32>(offset), ShaderGroupBaseAlignment);
};
const Uint32 RayGenOffset = 0;