GPU: size presentation from composited planes #3682
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3682"
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?
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T06:10:17Z.
The compositor can draw at most eight planes, but the presentation path used every submitted plane to size the back buffer. A dropped larger plane could resize the output and stretch the planes that survived. Apply the existing limit before sizing so both steps use the same planes.
The WARP regression draws a 32×32 red scene and a 64×64 half-blue eighth plane, then supplies a 128×96 green ninth plane. On main the readback is 128×96 with the red/blue blend. The patch keeps the output at 64×64 and preserves the blend at
[127, 0, 128, 255]. The existing single-plane fallback and two-plane recovery checks pass in the same test.Verified on Windows with app-local WARP 1.0.22 and Agility 1.620.2, with the D3D12 debug switch off and on. Strict GPU Clippy and the 191-file asset policy passed.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T06:13:30Z.
Windows CI passed at
31b94f1, including Clippy on both build configurations and the repository test job. The WARP readback case in the description applies to this head. The same plane cap also passed with compositor retry in #3675.The next step is maintainer review.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding this change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.