From cca257d59611584de31ed6500bdd08a75844fd42 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 26 Oct 2020 18:48:29 -0500 Subject: [PATCH] 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 Part-of: --- 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,