Enable anisotropic filtering if supported by the devices, fixes validation layer message
This commit is contained in:
parent
011109020b
commit
9c029b36fa
1 changed files with 4 additions and 0 deletions
|
|
@ -101,6 +101,10 @@ public:
|
|||
if (deviceFeatures.sampleRateShading) {
|
||||
enabledFeatures.sampleRateShading = VK_TRUE;
|
||||
}
|
||||
// Enable anisotropic filtering if supported
|
||||
if (deviceFeatures.samplerAnisotropy) {
|
||||
enabledFeatures.samplerAnisotropy = VK_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
// Creates a multi sample render target (image and view) that is used to resolve
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue