Mesa (main): dzn: Enable shader{Clip,Cull}Distance
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 27 10:20:02 UTC 2022
Module: Mesa
Branch: main
Commit: a7d6f52821a5274e3e0405f7a1502eaa669569c0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d6f52821a5274e3e0405f7a1502eaa669569c0
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Fri Jun 24 04:28:09 2022 -0700
dzn: Enable shader{Clip,Cull}Distance
DXIL has clip/cull distance builtins too.
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c
index f92316c1ce6..8ccc3c22ace 100644
--- a/src/microsoft/vulkan/dzn_device.c
+++ b/src/microsoft/vulkan/dzn_device.c
@@ -1094,8 +1094,8 @@ dzn_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
.shaderSampledImageArrayDynamicIndexing = true,
.shaderStorageBufferArrayDynamicIndexing = true,
.shaderStorageImageArrayDynamicIndexing = true,
- .shaderClipDistance = false,
- .shaderCullDistance = false,
+ .shaderClipDistance = true,
+ .shaderCullDistance = true,
.shaderFloat64 = false,
.shaderInt64 = false,
.shaderInt16 = false,
More information about the mesa-commit
mailing list