mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
fuck mali
This commit is contained in:
parent
9b7dc8de45
commit
f749ea84ee
1 changed files with 3 additions and 2 deletions
|
|
@ -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-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
// 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 {
|
Pipeline Device::CreateGraphicsPipeline(const VkGraphicsPipelineCreateInfo& ci, VkPipelineCache cache) const {
|
||||||
VkPipeline object = VK_NULL_HANDLE;
|
VkPipeline object = VK_NULL_HANDLE;
|
||||||
auto const result = dld->vkCreateGraphicsPipelines(handle, cache, 1, &ci, nullptr, &object);
|
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
|
// 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)
|
if (result == VK_INCOMPLETE)
|
||||||
return Pipeline(object, handle, *dld);
|
return Pipeline(object, handle, *dld);
|
||||||
Check(result);
|
Check(result);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue