Vulkan: Suppress some warnings from validation layer.

This commit is contained in:
gibbed 2017-08-09 01:15:33 -05:00
parent bea607b454
commit 4c77616ef9
2 changed files with 2 additions and 1 deletions

View File

@ -552,6 +552,7 @@ TextureCache::Sampler* TextureCache::Demand(const SamplerInfo& sampler_info) {
sampler_create_info.pNext = nullptr;
sampler_create_info.flags = 0;
sampler_create_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
sampler_create_info.maxAnisotropy = 1.0f;
// Texture level filtering.
VkSamplerMipmapMode mip_filter;

View File

@ -116,7 +116,7 @@ bool Blitter::Initialize(VulkanDevice* device) {
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
0.f,
VK_FALSE,
0.f,
1.f,
VK_FALSE,
VK_COMPARE_OP_NEVER,
0.f,