From eded1560a285352467f39486bd9d9b0f3203316c Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 26 Mar 2017 15:11:02 +0200 Subject: [PATCH] Initialize sampler create info with maxAnisotropy of 1.0f (Validation) [skip ci] --- base/VulkanInitializers.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/base/VulkanInitializers.hpp b/base/VulkanInitializers.hpp index 40f75a1e..0332bb14 100644 --- a/base/VulkanInitializers.hpp +++ b/base/VulkanInitializers.hpp @@ -118,6 +118,7 @@ namespace vks { VkSamplerCreateInfo samplerCreateInfo {}; samplerCreateInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; + samplerCreateInfo.maxAnisotropy = 1.0f; return samplerCreateInfo; }