mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-25 21:31:08 +01:00
Revert "God has forsaken me to BDA"
This commit is contained in:
parent
8040f06c87
commit
92cbcb8fe5
15 changed files with 51 additions and 300 deletions
|
|
@ -618,8 +618,7 @@ std::string EmitContext::DefineGlobalMemoryFunctions() {
|
|||
|
||||
const auto size_vec{fmt::format("uvec2({},{})", size_xy[0], size_xy[1])};
|
||||
const auto comp_lhs{fmt::format("(addr>={})", ssbo_addr)};
|
||||
const auto comp_rhs{fmt::format("(addr<(packUint2x32(uvec2({},{}))+uint64_t({})))",
|
||||
addr_xy[0], addr_xy[1], size_vec)};
|
||||
const auto comp_rhs{fmt::format("(addr<({}+uint64_t({})))", ssbo_addr, size_vec)};
|
||||
const auto comparison{fmt::format("if({}&&{}){{", comp_lhs, comp_rhs)};
|
||||
func += comparison;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue