SDK source: reference/gx/GXBump.c (GXSetIndTexCoordScale, around lines 247+)
Verified SDK behavior:
Programs S/T indirect-coordinate scale for stages GX_INDTEXSTAGE0..3.
Uses CHECK_IN_BGN guard (state update not allowed inside active begin).
Switches on stage and writes to one of two packed scale registers (RAS1_SS0 / RAS1_SS1).
libPorpoise Implementation
Runtime implementation area: src/gx
Public API surface: include/dolphin/gx
Current implementation:
src/gx/pc_gx.c: GXSetIndTexCoordScale now flushes pending begin state, validates stage against GX_MAX_INDTEXSTAGE, and writes scale selectors into per-stage runtime state used by the shader upload path.
Scale values outside documented enum range are clamped fail-soft to GX_ITS_256.