Inventory stage-local shader candidates for a named SGD5 effect #307
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#307
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Vonsek on GitHub · 2026-11-21 21:39 UTC · original
Question
Can a bounded SGD5 inventory report which stage-local program indices a named effect references when more than one program in a stage is eligible?
Evidence so far
The public SGD5 reader walks the six program arrays and reads the effect count. The related SGD2 format documents six index lists in each effect record. A source-built fixture can give two stages overlapping ordinal numbers and give a single effect two different pixel programs. SGD5 program arrays · SGD2 effect lists
Completion condition
Resolve the source-built effect to all its expected candidates in the owning stage, reject invalid program ordinals, malformed effect framing and out-of-budget metadata, and report the limits of the tested profile. Selecting a runtime draw pass needs separate evidence. I’m working on the bounded inventory and fixture. PR #300 concerns opcode support in the pipeline-readiness scanner.
Required environment
Python 3.11 or newer.