Gfx GX Fn GXSetTexCoordScaleManually - wowjinxy/libPorpoise GitHub Wiki
GXSetTexCoordScaleManually
Category: Texture Coordinate Generation
Matrix Status: Partial
Matrix Notes: Verified and implemented manual texcoord scale override state (enable/ss/ts) and shader application before texture lookup; automatic map-size scaling remains approximate on PC backend.
SDK: per-texcoord manual override over SU auto scaling; disable returns to auto mode.
Porpoise: manual override enable/disable and scale values are persisted and honored in shader sampling path.
Known divergence:
Hardware SU register behavior (including exact interaction with automatic map-size scaling and related SU features like cyl-wrap/bias) is approximated on PC backend.
Automatic scaling-by-associated-map path is not yet modeled bit-accurately as discrete SU state.
Validation Checklist
GX demo coverage checked
Pikmin usage path checked
Matrix status updated if needed
Notes updated with concrete file/function references
Working Notes
This function was previously a stub in pc_gx.c and now has runtime + shader behavior.