dzn: Enable 64-bit ints and floats
authorJesse Natalie <jenatali@microsoft.com>
Wed, 10 May 2023 20:47:28 +0000 (13:47 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 11 May 2023 21:56:31 +0000 (21:56 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22952>

src/microsoft/ci/warp-skips.txt
src/microsoft/vulkan/dzn_device.c

index e69de29..3183cd2 100644 (file)
@@ -0,0 +1,6 @@
+# Several bugs in WARP's 64-bit wave ops. Fixes incoming
+dEQP-VK.subgroups.*int64_t.*
+dEQP-VK.subgroups.*double.*
+dEQP-VK.subgroups.*i64vec.*
+dEQP-VK.subgroups.*u64vec.*
+dEQP-VK.subgroups.*dvec.*
index ae2e556..da955c5 100644 (file)
@@ -1394,8 +1394,8 @@ dzn_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
       .shaderStorageImageArrayDynamicIndexing = true,
       .shaderClipDistance = true,
       .shaderCullDistance = true,
-      .shaderFloat64 = false,
-      .shaderInt64 = false,
+      .shaderFloat64 = pdev->options.DoublePrecisionFloatShaderOps,
+      .shaderInt64 = pdev->options1.Int64ShaderOps,
       .shaderInt16 = pdev->options4.Native16BitShaderOpsSupported,
       .shaderResourceResidency = false,
       .shaderResourceMinLod = false,