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
|
|
@ -295,7 +295,7 @@ public:
|
|||
sampler.addressModeV = sampler.addressModeU;
|
||||
sampler.addressModeW = sampler.addressModeU;
|
||||
sampler.mipLodBias = 0.0f;
|
||||
sampler.maxAnisotropy = 0;
|
||||
sampler.maxAnisotropy = 1.0f;
|
||||
sampler.minLod = 0.0f;
|
||||
sampler.maxLod = 1.0f;
|
||||
sampler.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue