Skip to content

Commit

Permalink
merian: SamplerPool: fix duplicate sampler creation
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Aug 23, 2024
1 parent 655fcc9 commit 2a53c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/merian/vk/sampler/sampler_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SamplerPool : public std::enable_shared_from_this<SamplerPool> {
SamplerHandle nearest_repeat();

private:
struct SamplerState {
struct alignas(32) SamplerState {
vk::SamplerCreateInfo createInfo{};
vk::SamplerReductionModeCreateInfo reduction{};
vk::SamplerYcbcrConversionCreateInfo ycbr{};
Expand Down

0 comments on commit 2a53c36

Please sign in to comment.