diff --git a/src/dxvk/dxvk_cs.h b/src/dxvk/dxvk_cs.h index 1a102e1d0..df684db81 100644 --- a/src/dxvk/dxvk_cs.h +++ b/src/dxvk/dxvk_cs.h @@ -159,7 +159,7 @@ namespace dxvk { private: - alignas(M) + alignas(std::max(alignof(T), alignof(M))) T m_command; DxvkCsDataBlock m_data;