Mesa (main): dzn: Advertise anisotropic filtering support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 27 10:20:02 UTC 2022


Module: Mesa
Branch: main
Commit: 7988e966fc20f9ad438c7c53e6ace3e39bd45d1c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7988e966fc20f9ad438c7c53e6ace3e39bd45d1c

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Jun 24 03:51:01 2022 -0700

dzn: Advertise anisotropic filtering support

We support it already, let's toggle the switch to expose it.

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17231>

---

 src/microsoft/vulkan/dzn_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c
index 7ff422982e8..e791d5437cf 100644
--- a/src/microsoft/vulkan/dzn_device.c
+++ b/src/microsoft/vulkan/dzn_device.c
@@ -1076,7 +1076,7 @@ dzn_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
       .largePoints = false,
       .alphaToOne = false,
       .multiViewport = false,
-      .samplerAnisotropy = false,
+      .samplerAnisotropy = true,
       .textureCompressionETC2 = false,
       .textureCompressionASTC_LDR = false,
       .textureCompressionBC = dzn_physical_device_supports_bc(pdev),



More information about the mesa-commit mailing list