[Mesa-dev] [PATCH 08/16] radv: Support VkPhysicalDeviceShaderDrawParameterFeatures.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Mar 7 14:47:36 UTC 2018
Reviewed-by: Dave Airlie <airlied at redhat.com>
---
src/amd/vulkan/radv_device.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 593cfc9a36..fd359cdbcc 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;
}
--
2.16.1
More information about the mesa-dev
mailing list