Mesa (master): anv: Advertise shaderIntegerFunctions2
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 6 16:23:18 UTC 2020
Module: Mesa
Branch: master
Commit: 7f06d194fd3650f3078574741ce56bdcba43279d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f06d194fd3650f3078574741ce56bdcba43279d
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Jul 22 15:23:46 2020 -0500
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 <caio.oliveira at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6033>
---
src/intel/vulkan/anv_device.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 0b2aed858a4..8804b9865b6 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;
More information about the mesa-commit
mailing list