mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 16:50:34 +01:00
venus: RegisterCustomBorderColorEXT can be async when index is requested
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40085>
This commit is contained in:
parent
718ecfc008
commit
f0e4ef50e3
1 changed files with 6 additions and 0 deletions
|
|
@ -156,6 +156,12 @@ vn_RegisterCustomBorderColorEXT(
|
|||
{
|
||||
struct vn_device *dev = vn_device_from_handle(device);
|
||||
|
||||
if (requestIndex == VK_TRUE) {
|
||||
vn_async_vkRegisterCustomBorderColorEXT(
|
||||
dev->primary_ring, device, pBorderColor, requestIndex, pIndex);
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
/* TODO manage indexes to make it async */
|
||||
return vn_call_vkRegisterCustomBorderColorEXT(
|
||||
dev->primary_ring, device, pBorderColor, requestIndex, pIndex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue