diff --git a/include/merian/vk/sampler/sampler_pool.hpp b/include/merian/vk/sampler/sampler_pool.hpp index 8d7a3d7..491f0e7 100644 --- a/include/merian/vk/sampler/sampler_pool.hpp +++ b/include/merian/vk/sampler/sampler_pool.hpp @@ -49,7 +49,7 @@ class SamplerPool : public std::enable_shared_from_this { SamplerHandle nearest_repeat(); private: - struct SamplerState { + struct alignas(32) SamplerState { vk::SamplerCreateInfo createInfo{}; vk::SamplerReductionModeCreateInfo reduction{}; vk::SamplerYcbcrConversionCreateInfo ycbr{};