[externals] downgrade sirit to Rein's last version
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
3f02d7713f
commit
5240fc1ab2
2 changed files with 5 additions and 5 deletions
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
|
@ -218,11 +218,11 @@ set(CPM_USE_LOCAL_PACKAGES ON)
|
||||||
|
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
NAME sirit
|
NAME sirit
|
||||||
URL "https://github.com/raphaelthegreat/sirit/archive/51fcf9720f.zip"
|
URL "https://github.com/ReinUsesLisp/sirit/archive/d7ad93a888.zip"
|
||||||
URL_HASH SHA512=a8f98ea0c51763b89924d836ad482ebdfe9130251cf4e14733ccaacc885ae8cc4c8b03d1dc43e8861609e5f7929c16f935879c1f6bf61866fd75077954774394
|
URL_HASH SHA512=4532125b180729b13dcc2a0418f36ad5e902b1a628ca3d85adca64547442800a30a6eb8efe45e186c020986f27a6f6a53083a4b74dd58cb19eb5657d5cbaaa71
|
||||||
OPTIONS
|
OPTIONS
|
||||||
"SIRIT_USE_SYSTEM_SPIRV_HEADERS ON"
|
"SIRIT_USE_SYSTEM_SPIRV_HEADERS ON"
|
||||||
CUSTOM_CACHE_KEY "51fc"
|
CUSTOM_CACHE_KEY "d7ad"
|
||||||
)
|
)
|
||||||
|
|
||||||
# httplib
|
# httplib
|
||||||
|
|
|
@ -468,7 +468,7 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct
|
||||||
void PatchPhiNodes(IR::Program& program, EmitContext& ctx) {
|
void PatchPhiNodes(IR::Program& program, EmitContext& ctx) {
|
||||||
auto inst{program.blocks.front()->begin()};
|
auto inst{program.blocks.front()->begin()};
|
||||||
size_t block_index{0};
|
size_t block_index{0};
|
||||||
ctx.PatchDeferredPhi([&](size_t phi_arg, Id parent) -> std::pair<Id, Id> {
|
ctx.PatchDeferredPhi([&](size_t phi_arg) -> Id {
|
||||||
if (phi_arg == 0) {
|
if (phi_arg == 0) {
|
||||||
++inst;
|
++inst;
|
||||||
if (inst == program.blocks[block_index]->end() ||
|
if (inst == program.blocks[block_index]->end() ||
|
||||||
|
@ -479,7 +479,7 @@ void PatchPhiNodes(IR::Program& program, EmitContext& ctx) {
|
||||||
} while (inst->GetOpcode() != IR::Opcode::Phi);
|
} while (inst->GetOpcode() != IR::Opcode::Phi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {ctx.Def(inst->Arg(phi_arg)), parent};
|
return ctx.Def(inst->Arg(phi_arg));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue