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

Author: Jason Ekstrand <ja...@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 <kenn...@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,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to