diff options
| author | Philip Dubé <159546+serprex@users.noreply.github.com> | 2026-07-24 18:35:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-24 18:35:24 +0000 |
| commit | c4e92a70f49ab904c9c7ec92ae0f4d4d5b340e81 (patch) | |
| tree | 0f242aa1bb5e61ba11ee683396123c32f0510ec1 /soh/include/functions.h | |
| parent | 5af79defb6c780f46d24b3bdf42e71911535fcbd (diff) | |
Constant-size texture scroll display lists via G_SETTILESIZE_LERP (#6902)
Rewrite Gfx_TexScrollEx / Gfx_TwoTexScrollEx / Gfx_TwoTexScrollEnvColorEx to
emit one command per tile instead of one baked tile size per interpolated frame,
so texture DL memory no longer scales with InterpolationFPS
Diffstat (limited to 'soh/include/functions.h')
| -rw-r--r-- | soh/include/functions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/include/functions.h b/soh/include/functions.h index c96f3b23f..1bec60eb8 100644 --- a/soh/include/functions.h +++ b/soh/include/functions.h @@ -23,6 +23,8 @@ void gSPSegment(void* value, int segNum, uintptr_t target); void gSPSegmentLoadRes(void* value, int segNum, uintptr_t target); void gSPDisplayList(Gfx* pkt, Gfx* dl); void gDPSetTileSizeInterp(Gfx* pkt, int t, float uls, float ult, float lrs, float lrt); +void gDPSetTileSizeLerp(Gfx* pkt, int t, float uls0, float ult0, float lrs0, float lrt0, float uls1, float ult1, + float lrs1, float lrt1); void gSPDisplayListOffset(Gfx* pkt, Gfx* dl, int offset); void gSPVertex(Gfx* pkt, uintptr_t v, int n, int v0); void gSPInvalidateTexCache(Gfx* pkt, uintptr_t texAddr); |
