Repository navigation
fix(agc): honor disabled color targets and their reset state - #1346
Conversation
Exclude COLOR_INVALID attachments from the effective write mask while preserving later MRT export indices and depth-only rendering. Validated with the graphics tests and Skyrim menu draws. AI-assisted implementation and testing by OpenAI Codex.
|
Rebased on Fedora 44 Release: |
ff7b81a to
1841f3c
Compare
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
|
Checked build + full ctest on current main + this PR (442/442, |
What
Exclude COLOR_INVALID attachments from the effective color write mask. Preserve depth-only rendering and the export indices of later color targets. Initialize all eight color-format registers to their disabled reset state.
#1139 handles inactive pixel shaders and #1178 adds pixel-input defaults; neither handles these color targets.
Tested
Fedora 44, Release: driver, graphics, and PM4 tests. Covers disabled and partially written targets, depth-only draws, holes between color exports, missing registers, and context reset. Contribution checks pass. Windows was not tested.
Checklist
main; no duplicate open PR.