Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate TexUnit addressing #10096

Merged
merged 2 commits into from Oct 9, 2021

Conversation

phire
Copy link
Member

@phire phire commented Sep 12, 2021

These commits have been split off from #8350, where it was requested in code review.

Currently the logic for addressing the individual TexUnits is splattered all across dolphin's codebase
This PR attempts to consolidate it all into a single place and formalise it.

@phire phire force-pushed the consolidate_tex_unit_addressing branch from 9c4debf to 4ef9f69 Compare September 12, 2021 09:37
Source/Core/VideoCommon/BPMemory.h Outdated Show resolved Hide resolved
Source/Core/VideoCommon/BPMemory.h Outdated Show resolved Hide resolved
Source/Core/VideoCommon/BPMemory.h Show resolved Hide resolved
Source/Core/VideoCommon/BPMemory.h Outdated Show resolved Hide resolved
Source/Core/VideoCommon/BPMemory.h Outdated Show resolved Hide resolved
@phire phire force-pushed the consolidate_tex_unit_addressing branch from 254bc8c to 0c47a2f Compare October 9, 2021 19:18
The addressing of the texture units is a bit non-obvious.
This struct abstracts the complexity away.
@phire phire force-pushed the consolidate_tex_unit_addressing branch 2 times, most recently from 00a0409 to 9519ede Compare October 9, 2021 20:06
Currently the logic for addressing the individual TexUnits is splattered all
across dolphin's codebase, this commit attempts to consolidate it all into a
single place and formalise it using our new TexUnitAddress struct.
@phire phire force-pushed the consolidate_tex_unit_addressing branch from 9519ede to 9fa2662 Compare October 9, 2021 20:09
@phire phire merged commit af043c0 into dolphin-emu:master Oct 9, 2021
2 of 10 checks passed
@phire phire deleted the consolidate_tex_unit_addressing branch October 9, 2021 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants