From: Jason Ekstrand Date: Wed, 22 Jul 2020 20:23:46 +0000 (-0500) Subject: anv: Advertise shaderIntegerFunctions2 X-Git-Tag: upstream/21.0.0~6770 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f06d194fd3650f3078574741ce56bdcba43279d;p=platform%2Fupstream%2Fmesa.git anv: Advertise shaderIntegerFunctions2 We advertised the extension string but never the feature bit. Doh! Fixes: c57338b92471 "anv: Enable SPV_INTEL_shader_integer_functions2..." Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Ian Romanick Part-of: --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 0b2aed8..8804b98 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1373,6 +1373,13 @@ void anv_GetPhysicalDeviceFeatures2( break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: { + VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *features = + (VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *)ext; + features->shaderIntegerFunctions2 = true; + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR: { VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR *features = (VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR *)ext;