Do not specify anisotropy flag when creating a sampler (since anisotropic filtering is not used by the engine).
This fixes validation layer warning.
This commit is contained in:
parent
4102b0f2c8
commit
c3ea7fed26
|
|
@ -2008,7 +2008,7 @@ VkSampler vk_find_sampler(const Vk_Sampler_Def& def) {
|
||||||
desc.addressModeV = address_mode;
|
desc.addressModeV = address_mode;
|
||||||
desc.addressModeW = address_mode;
|
desc.addressModeW = address_mode;
|
||||||
desc.mipLodBias = 0.0f;
|
desc.mipLodBias = 0.0f;
|
||||||
desc.anisotropyEnable = VK_TRUE;
|
desc.anisotropyEnable = VK_FALSE;
|
||||||
desc.maxAnisotropy = 1;
|
desc.maxAnisotropy = 1;
|
||||||
desc.compareEnable = VK_FALSE;
|
desc.compareEnable = VK_FALSE;
|
||||||
desc.compareOp = VK_COMPARE_OP_ALWAYS;
|
desc.compareOp = VK_COMPARE_OP_ALWAYS;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user