Mesa (master): anv: Advertise shaderInt64 on Gen11+

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 22 19:12:49 UTC 2021


Module: Mesa
Branch: master
Commit: cca257d59611584de31ed6500bdd08a75844fd42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cca257d59611584de31ed6500bdd08a75844fd42

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Oct 26 18:48:29 2020 -0500

anv: Advertise shaderInt64 on Gen11+

On Gen11, they took away our hardware int64 support.  We have lowering
for all of it in NIR except for subgroup ops.  Now that all the subgroup
ops are implemented, we can enable the feature.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7329>

---

 src/intel/vulkan/anv_device.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 5638f30890c..5256c2c116c 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -947,8 +947,7 @@ void anv_GetPhysicalDeviceFeatures(
       .shaderCullDistance                       = true,
       .shaderFloat64                            = pdevice->info.gen >= 8 &&
                                                   pdevice->info.has_64bit_float,
-      .shaderInt64                              = pdevice->info.gen >= 8 &&
-                                                  pdevice->info.has_64bit_int,
+      .shaderInt64                              = pdevice->info.gen >= 8,
       .shaderInt16                              = pdevice->info.gen >= 8,
       .shaderResourceMinLod                     = pdevice->info.gen >= 9,
       .variableMultisampleRate                  = true,



More information about the mesa-commit mailing list