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:
committed by
Marge Bot
parent
8d8caa44bd
commit
8133d5551d
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user