mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 19:00:33 +01:00
radv/rt: Return the correct result for requested deferral
We do not implement deferred host operations so we will return VK_OPERATION_NOT_DEFERRED_KHR for now. Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19882>
This commit is contained in:
parent
8d8caa44bd
commit
8133d5551d
1 changed files with 3 additions and 0 deletions
|
|
@ -408,6 +408,9 @@ radv_CreateRayTracingPipelinesKHR(VkDevice _device, VkDeferredOperationKHR defer
|
|||
for (; i < count; ++i)
|
||||
pPipelines[i] = VK_NULL_HANDLE;
|
||||
|
||||
if (result == VK_SUCCESS && deferredOperation != VK_NULL_HANDLE)
|
||||
return VK_OPERATION_NOT_DEFERRED_KHR;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue