Set sampler max. anisotropy to 1.0f instead of 0.0f (valdidation)

Refs #277
This commit is contained in:
saschawillems 2017-06-17 16:07:38 +02:00
parent f447047913
commit 55da334ba1
10 changed files with 11 additions and 11 deletions

View file

@ -350,7 +350,7 @@ public:
samplerInfo.addressModeV = samplerInfo.addressModeU;
samplerInfo.addressModeW = samplerInfo.addressModeU;
samplerInfo.mipLodBias = 0.0f;
samplerInfo.maxAnisotropy = 0;
samplerInfo.maxAnisotropy = 1.0f;
samplerInfo.minLod = 0.0f;
samplerInfo.maxLod = 1.0f;
samplerInfo.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE;