Run indirect clamp tests on llvmpipe #1026

Open
gmankab wants to merge 2 commits from upstream-pr/1028 into main
gmankab commented 2026-11-25 16:42:16 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by gmankab on 2026-11-25T16:42:16Z.


DXVK returns llvmpipe from EnumWarpAdapter with the DXGI software flag unset in the tested Wine runtime. The indirect clamp tests returned early. Recognizing Mesa's software adapter lets the fixtures dispatch and read back their results.

Running the fixtures exposed an ordering assumption in the budget saturation test. Both groups race for one atomic budget. The revised assertion accepts the first two valid lanes of whichever group claims it, and still checks the exact cap, all draw fields, and the source bytes.

The indirect suite passed 15 tests in a Flatpak sandbox with DRM devices hidden. A separate gathered-record test exercised the llvmpipe D3D12 device, and the budget fixture passed eight additional runs.

Tested-on: Fedora Linux 45, Wine 11.0, vkd3d-proton 3.2.0 and llvmpipe
Assisted-by: gpt-6.2 sol xhigh

<!-- greyfinch-sync:fxceless/victory-fork:issue:6609180004 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1028). Originally posted by [gmankab](https://github.com/gmankab) on 2026-11-25T16:42:16Z. --- DXVK returns llvmpipe from `EnumWarpAdapter` with the DXGI software flag unset in the tested Wine runtime. The indirect clamp tests returned early. Recognizing Mesa's software adapter lets the fixtures dispatch and read back their results. Running the fixtures exposed an ordering assumption in the budget saturation test. Both groups race for one atomic budget. The revised assertion accepts the first two valid lanes of whichever group claims it, and still checks the exact cap, all draw fields, and the source bytes. The indirect suite passed 15 tests in a Flatpak sandbox with DRM devices hidden. A separate gathered-record test exercised the llvmpipe D3D12 device, and the budget fixture passed eight additional runs. Tested-on: Fedora Linux 45, Wine 11.0, vkd3d-proton 3.2.0 and llvmpipe Assisted-by: gpt-6.2 sol xhigh
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1028:upstream-pr/1028'
git switch 'upstream-pr/1028'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/1028'
git switch 'upstream-pr/1028'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1028'
git switch 'upstream-pr/1028'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1028'
git switch 'main'
git merge --squash 'upstream-pr/1028'
git switch 'main'
git merge --ff-only 'upstream-pr/1028'
git switch 'main'
git merge 'upstream-pr/1028'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!1026
No description provided.