From eb2576902d9f5b068f4cac308c64942344fcb2dd Mon Sep 17 00:00:00 2001 From: Konstantin Seurer Date: Thu, 22 Dec 2022 22:35:59 +0100 Subject: [PATCH] radv: Use common vkEnumerateDeviceLayerProperties Part-of: --- src/amd/vulkan/radv_device.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 58774d0..ed4c293 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -4132,19 +4132,6 @@ radv_EnumerateInstanceLayerProperties(uint32_t *pPropertyCount, VkLayerPropertie return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); } -VKAPI_ATTR VkResult VKAPI_CALL -radv_EnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, - VkLayerProperties *pProperties) -{ - if (pProperties == NULL) { - *pPropertyCount = 0; - return VK_SUCCESS; - } - - /* None supported at this time */ - return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT); -} - static void radv_fill_shader_rings(struct radv_device *device, uint32_t *map, bool add_sample_positions, uint32_t esgs_ring_size, struct radeon_winsys_bo *esgs_ring_bo, -- 2.7.4