<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<br><br>Looks like the same fix could be done in the following functions:<br>radv_GetPhysicalDeviceQueueFamilyProperties<br>radv_GetPhysicalDeviceQueueFamilyProperties2<br>just for case if you want to fix all these issues:)<br><br>Regards,<br>Andrii.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 7, 2019 at 6:35 PM Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This function returns nothing.<br>
<br>
Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com" target="_blank">samuel.pitoiset@gmail.com</a>><br>
---<br>
 src/amd/vulkan/radv_device.c | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c<br>
index 53aed1a15db..39bd47348a9 100644<br>
--- a/src/amd/vulkan/radv_device.c<br>
+++ b/src/amd/vulkan/radv_device.c<br>
@@ -1345,8 +1345,8 @@ void radv_GetPhysicalDeviceMemoryProperties2(<br>
        VkPhysicalDevice                            physicalDevice,<br>
        VkPhysicalDeviceMemoryProperties2KHR       *pMemoryProperties)<br>
 {<br>
-       return radv_GetPhysicalDeviceMemoryProperties(physicalDevice,<br>
-                                                     &pMemoryProperties->memoryProperties);<br>
+       radv_GetPhysicalDeviceMemoryProperties(physicalDevice,<br>
+                                              &pMemoryProperties->memoryProperties);<br>
 }<br>
<br>
 VkResult radv_GetMemoryHostPointerPropertiesEXT(<br>
-- <br>
2.20.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>