fix(gpu): select the D3D12 depth and stencil SRV planes #658

Open
hajduzsolt wants to merge 1 commit from upstream-pr/658 into a-publier
hajduzsolt commented 2026-11-27 16:35:32 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by hajduzsolt on 2026-11-27T16:35:32Z.


Select the proper PlaneSlice (depth vs stencil) when creating D3D12 SRVs for depth/stencil formats.

AI-assisted. Verified with cargo check --locked -p victory-gpu --tests and tested on Windows 11 with AMD Radeon RX 9070 XT.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5530005427 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/658). Originally posted by [hajduzsolt](https://github.com/hajduzsolt) on 2026-11-27T16:35:32Z. --- Select the proper `PlaneSlice` (depth vs stencil) when creating D3D12 SRVs for depth/stencil formats. AI-assisted. Verified with `cargo check --locked -p victory-gpu --tests` and tested on Windows 11 with AMD Radeon RX 9070 XT.
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/658:upstream-pr/658'
git switch 'upstream-pr/658'

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 'a-publier'
git merge --no-ff 'upstream-pr/658'
git switch 'upstream-pr/658'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/658'
git switch 'upstream-pr/658'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'upstream-pr/658'
git switch 'a-publier'
git merge --squash 'upstream-pr/658'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/658'
git switch 'a-publier'
git merge 'upstream-pr/658'
git push origin 'a-publier'
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
Belobug/VIctory-Belobug-AMD!658
No description provided.