From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 14:57:59 +0000 (+0100) Subject: radv: Support VkPhysicalDeviceShaderDrawParameterFeatures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bcf4d16782948e28f27cce500fee8b3a81b6195;p=mesa.git radv: Support VkPhysicalDeviceShaderDrawParameterFeatures. Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 4eab9faf3f3..a791d3a7e4c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -666,6 +666,12 @@ void radv_GetPhysicalDeviceFeatures2( features->multiviewTessellationShader = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: { + VkPhysicalDeviceShaderDrawParameterFeatures *features = + (VkPhysicalDeviceShaderDrawParameterFeatures*)ext; + features->shaderDrawParameters = true; + break; + } default: break; }