mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radv: remove unnecessary returns in GetPhysicalDevice*Properties()
These functions return nothing. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Alex Smith <asmith@feralinteractive.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
568e7a2998
commit
a6e5ce5130
1 changed files with 4 additions and 4 deletions
|
|
@ -1299,7 +1299,7 @@ void radv_GetPhysicalDeviceQueueFamilyProperties(
|
|||
{
|
||||
RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
|
||||
if (!pQueueFamilyProperties) {
|
||||
return radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
|
||||
radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
|
||||
return;
|
||||
}
|
||||
VkQueueFamilyProperties *properties[] = {
|
||||
|
|
@ -1318,7 +1318,7 @@ void radv_GetPhysicalDeviceQueueFamilyProperties2(
|
|||
{
|
||||
RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
|
||||
if (!pQueueFamilyProperties) {
|
||||
return radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
|
||||
radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
|
||||
return;
|
||||
}
|
||||
VkQueueFamilyProperties *properties[] = {
|
||||
|
|
@ -1343,8 +1343,8 @@ void radv_GetPhysicalDeviceMemoryProperties2(
|
|||
VkPhysicalDevice physicalDevice,
|
||||
VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)
|
||||
{
|
||||
return radv_GetPhysicalDeviceMemoryProperties(physicalDevice,
|
||||
&pMemoryProperties->memoryProperties);
|
||||
radv_GetPhysicalDeviceMemoryProperties(physicalDevice,
|
||||
&pMemoryProperties->memoryProperties);
|
||||
}
|
||||
|
||||
VkResult radv_GetMemoryHostPointerPropertiesEXT(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue