vulkan: drop always-true param
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
f4126cfaab
commit
738f0f789b
|
@ -45,7 +45,6 @@ VkBool32 radv_GetPhysicalDeviceXcbPresentationSupportKHR(
|
|||
return wsi_get_physical_device_xcb_presentation_support(
|
||||
&device->wsi_device,
|
||||
queueFamilyIndex,
|
||||
true,
|
||||
connection, visual_id);
|
||||
}
|
||||
|
||||
|
@ -60,7 +59,6 @@ VkBool32 radv_GetPhysicalDeviceXlibPresentationSupportKHR(
|
|||
return wsi_get_physical_device_xcb_presentation_support(
|
||||
&device->wsi_device,
|
||||
queueFamilyIndex,
|
||||
true,
|
||||
XGetXCBConnection(dpy), visualID);
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ VkBool32 anv_GetPhysicalDeviceXcbPresentationSupportKHR(
|
|||
return wsi_get_physical_device_xcb_presentation_support(
|
||||
&device->wsi_device,
|
||||
queueFamilyIndex,
|
||||
true,
|
||||
connection, visual_id);
|
||||
}
|
||||
|
||||
|
@ -56,7 +55,6 @@ VkBool32 anv_GetPhysicalDeviceXlibPresentationSupportKHR(
|
|||
return wsi_get_physical_device_xcb_presentation_support(
|
||||
&device->wsi_device,
|
||||
queueFamilyIndex,
|
||||
true,
|
||||
XGetXCBConnection(dpy), visualID);
|
||||
}
|
||||
|
||||
|
|
|
@ -375,7 +375,6 @@ visual_has_alpha(xcb_visualtype_t *visual, unsigned depth)
|
|||
VkBool32 wsi_get_physical_device_xcb_presentation_support(
|
||||
struct wsi_device *wsi_device,
|
||||
uint32_t queueFamilyIndex,
|
||||
bool can_handle_different_gpu,
|
||||
xcb_connection_t* connection,
|
||||
xcb_visualid_t visual_id)
|
||||
{
|
||||
|
@ -388,10 +387,6 @@ VkBool32 wsi_get_physical_device_xcb_presentation_support(
|
|||
if (!wsi_x11_check_for_dri3(wsi_conn))
|
||||
return false;
|
||||
|
||||
if (!can_handle_different_gpu)
|
||||
if (!wsi_x11_check_dri3_compatible(wsi_device, connection))
|
||||
return false;
|
||||
|
||||
unsigned visual_depth;
|
||||
if (!connection_get_visualtype(connection, visual_id, &visual_depth))
|
||||
return false;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
VkBool32 wsi_get_physical_device_xcb_presentation_support(
|
||||
struct wsi_device *wsi_device,
|
||||
uint32_t queueFamilyIndex,
|
||||
bool can_handle_different_gpu,
|
||||
xcb_connection_t* connection,
|
||||
xcb_visualid_t visual_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue