mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 12:40:23 +01:00
anv: turn on samplerAnisotropy in VkPhysicalDeviceFeatures
According to the Vulkan spec 5.63.4 : samplerAnisotropy indicates whether anisotropic filtering is supported. If this feature is not enabled, the maxAnisotropy member of the VkSamplerCreateInfo structure must be 1.0. Since we already set maxAnisotropy to 16 and program the hardware according to the VkSamplerCreateInfo.maxAnisotropy, it seems we can turn this on. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
ba43768a1e
commit
014bd4acb8
2 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ Missing Features:
|
|||
- FP64
|
||||
- Tessellation
|
||||
- Cull and Clip Distance
|
||||
- Sampler anisotropy (Is there anything to do here?)
|
||||
- Image Gather Extended
|
||||
- Storage Image Without Format
|
||||
- Investigate CTS failures on HSW
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ void anv_GetPhysicalDeviceFeatures(
|
|||
.largePoints = true,
|
||||
.alphaToOne = true,
|
||||
.multiViewport = true,
|
||||
.samplerAnisotropy = false, /* FINISHME */
|
||||
.samplerAnisotropy = true,
|
||||
.textureCompressionETC2 = pdevice->info.gen >= 8 ||
|
||||
pdevice->info.is_baytrail,
|
||||
.textureCompressionASTC_LDR = pdevice->info.gen >= 9, /* FINISHME CHV */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue