Skip to content

Conversation

@MonsterDruide1
Copy link
Owner

@MonsterDruide1 MonsterDruide1 commented May 6, 2025

An unfinished header by @fruityloops1 resulted in me looking into the remaining part of this class - implementing it on the way.

Two mismatches can currently be observed:
1) https://decomp.me/scratch/QhCcn - within GPUMemBlockT's destructor. It was probably wrong before, and is now being exposed because the function is generated for the first time.
2) https://decomp.me/scratch/nhsZ0 - al::GpuMemAllocator::allocMemory shows some slightly different codegen on an if with arithmetic.
All mismatches have been fixed by @german77 and me!

Blocked by open-ead/agl#18


This change is Reviewable

@MonsterDruide1 MonsterDruide1 self-assigned this May 6, 2025
@MonsterDruide1 MonsterDruide1 marked this pull request as ready for review May 18, 2025 21:11
@MonsterDruide1
Copy link
Owner Author

Ready for review.

Copy link
Contributor

@fruityloops1 fruityloops1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 3 files at r1, all commit messages.
Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @MonsterDruide1)


lib/al/Project/Draw/GpuMemAllocator.h line 23 at r1 (raw file):

    ~GpuMemAllocator();

    void createMemory(const char*, s32, sead::Heap*, s32, agl::MemoryAttribute);

Param names?

Copy link
Owner Author

@MonsterDruide1 MonsterDruide1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @fruityloops1 and @MonsterDruide1)


lib/al/Project/Draw/GpuMemAllocator.h line 23 at r1 (raw file):

Previously, fruityloops1 (Fruityloops) wrote…

Param names?

Done.

Copy link
Contributor

@fruityloops1 fruityloops1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 3 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @MonsterDruide1)

@MonsterDruide1 MonsterDruide1 merged commit a8b4016 into master May 25, 2025
12 checks passed
@MonsterDruide1 MonsterDruide1 deleted the GpuMemAllocator branch May 25, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants