mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-30 12:16:18 +00:00
Fix license headers
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -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 2022 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
||||||
|
|||||||
@@ -511,12 +511,12 @@ void PatchPhiNodes(IR::Program& program, EmitContext& ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Start "before" first PHI; advance on phi_arg == 0
|
// Start "before" first PHI; advance on phi_arg == 0
|
||||||
ctx.phi_index = std::size_t(-1);
|
size_t phi_index = size_t(-1);
|
||||||
ctx.PatchDeferredPhi([&ctx, phi_insts = std::move(phi_instructions)](size_t phi_arg, Id parent) -> std::pair<Id, Id> {
|
ctx.PatchDeferredPhi([&ctx, &phi_index, phi_insts = std::move(phi_instructions)](size_t phi_arg, Id parent) -> std::pair<Id, Id> {
|
||||||
if (phi_arg == 0) {
|
if (phi_arg == 0) {
|
||||||
++ctx.phi_index;
|
++phi_index;
|
||||||
}
|
}
|
||||||
IR::Inst* phi = phi_insts[ctx.phi_index];
|
IR::Inst* phi = phi_insts[phi_index];
|
||||||
return { ctx.Def(phi->Arg(phi_arg)), parent };
|
return { ctx.Def(phi->Arg(phi_arg)), parent };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -371,7 +371,6 @@ public:
|
|||||||
|
|
||||||
// Sirit::Id doesn't play nice with *::set<>
|
// Sirit::Id doesn't play nice with *::set<>
|
||||||
::Common::unordered_set<u32> non_uniform_ids;
|
::Common::unordered_set<u32> non_uniform_ids;
|
||||||
size_t phi_index{};
|
|
||||||
|
|
||||||
bool uses_nonuniform_sampled_image{};
|
bool uses_nonuniform_sampled_image{};
|
||||||
bool uses_nonuniform_storage_image{};
|
bool uses_nonuniform_storage_image{};
|
||||||
|
|||||||
Reference in New Issue
Block a user