Vulkan: Suppress some warnings from validation layer.
This commit is contained in:
parent
bea607b454
commit
4c77616ef9
|
@ -552,6 +552,7 @@ TextureCache::Sampler* TextureCache::Demand(const SamplerInfo& sampler_info) {
|
||||||
sampler_create_info.pNext = nullptr;
|
sampler_create_info.pNext = nullptr;
|
||||||
sampler_create_info.flags = 0;
|
sampler_create_info.flags = 0;
|
||||||
sampler_create_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
sampler_create_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST;
|
||||||
|
sampler_create_info.maxAnisotropy = 1.0f;
|
||||||
|
|
||||||
// Texture level filtering.
|
// Texture level filtering.
|
||||||
VkSamplerMipmapMode mip_filter;
|
VkSamplerMipmapMode mip_filter;
|
||||||
|
|
|
@ -116,7 +116,7 @@ bool Blitter::Initialize(VulkanDevice* device) {
|
||||||
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
|
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
|
||||||
0.f,
|
0.f,
|
||||||
VK_FALSE,
|
VK_FALSE,
|
||||||
0.f,
|
1.f,
|
||||||
VK_FALSE,
|
VK_FALSE,
|
||||||
VK_COMPARE_OP_NEVER,
|
VK_COMPARE_OP_NEVER,
|
||||||
0.f,
|
0.f,
|
||||||
|
|
Loading…
Reference in New Issue