Set maxAnisotropy to 1.0f instead of 0.0f (Fixes validation errors, refs #277)
This commit is contained in:
parent
a6ddaf3996
commit
904d785c20
4 changed files with 4 additions and 11 deletions
|
|
@ -523,6 +523,7 @@ namespace vks
|
|||
samplerCreateInfo.compareOp = VK_COMPARE_OP_NEVER;
|
||||
samplerCreateInfo.minLod = 0.0f;
|
||||
samplerCreateInfo.maxLod = 0.0f;
|
||||
samplerCreateInfo.maxAnisotropy = 1.0f;
|
||||
VK_CHECK_RESULT(vkCreateSampler(device->logicalDevice, &samplerCreateInfo, nullptr, &sampler));
|
||||
|
||||
// Create image view
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue