diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-01-21 15:57:59 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 21:18:35 +0100 |
commit | 4bcf4d16782948e28f27cce500fee8b3a81b6195 (patch) | |
tree | 947581b871ef2241910b8c95c074dd00cd0d2253 | |
parent | 41d958d073c52088aa831e4485e67c3e0ce175a5 (diff) |
radv: Support VkPhysicalDeviceShaderDrawParameterFeatures.
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |