|
|
|
@ -1,4 +1,4 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
|
@ -730,8 +730,9 @@ PipelineLayout Device::CreatePipelineLayout(const VkPipelineLayoutCreateInfo& ci |
|
|
|
Pipeline Device::CreateGraphicsPipeline(const VkGraphicsPipelineCreateInfo& ci, VkPipelineCache cache) const { |
|
|
|
VkPipeline object = VK_NULL_HANDLE; |
|
|
|
auto const result = dld->vkCreateGraphicsPipelines(handle, cache, 1, &ci, nullptr, &object); |
|
|
|
// Adreno 5xx drivers do not properly return error when a graphics pipeline fails to be created
|
|
|
|
// Adreno 5xx drivers do not properly return when a graphics pipeline fails to be created
|
|
|
|
// Some (unkown) Mali drivers also do not properly return
|
|
|
|
// This result code is out of spec, but should be handled as "kinda working"
|
|
|
|
if (result == VK_INCOMPLETE) |
|
|
|
return Pipeline(object, handle, *dld); |
|
|
|
Check(result); |
|
|
|
|