fuck mali

This commit is contained in:
lizzie 2026-01-25 08:41:51 +00:00 committed by crueter
parent 9b7dc8de45
commit f749ea84ee
1 changed files with 3 additions and 2 deletions

View File

@ -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);