test(agc): allow native depth fixture command buffer resets #7312

Merged
MarcZX10 merged 1 commit from upstream-pr/7312 into main 2026-10-17 23:09:04 +00:00
MarcZX10 commented 2026-10-17 22:52:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T22:52:03Z.


What

The native-depth test fixture reuses its command buffers, but creates its command pool without VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT. Beginning a previously recorded buffer again is invalid without that pool flag and produces VUID-vkBeginCommandBuffer-commandBuffer-00050 with Khronos validation. Add the required reset permission to this test-only pool.

Fixes #7311.

Tested

  • Compiled the changed NativeMultisampleDepth.cpp translation unit with the Linux project build command; compilation passed.
  • The issue report records the unchanged fixture producing 20 validation errors and the fix passing each clear/refusal group three times with zero validation errors on Windows 11 Enterprise 26200 / NVIDIA GeForce RTX 5080 (driver 32.0.16.1062) and AMD Radeon Graphics (driver 32.0.21036.18), with Khronos validation 1.4.363.
  • I could not run the focused executable on this Linux Xeon E5-1620 v2: it exits at the project CPU-feature guard (missing LZCNT, BMI1, BMI2, MOVBE, AVX2 and FMA), before the fixture assertions.
  • Hosted conventions, eligibility and intake checks pass. The path filters skip the AGC build/test jobs for this test-only change, so hosted CI does not execute this fixture.

Checklist

  • Based on current main; no other open PR implements this change (manually checked the open PRs that touch this fixture).
  • One topic per PR; follow-ups go in a new PR.
  • No comments in code except technical debt.
  • No unimplemented paths added.
  • No notes, investigation files or images added.
  • No third-party code added.
  • Generic test-fixture behavior.
  • Depends on: none.
  • Fixes: #7311.
  • Unblocks: none.
  • GPUs tested: NVIDIA GeForce RTX 5080, driver 32.0.16.1062, Windows 11 Enterprise 26200; AMD Radeon Graphics, driver 32.0.21036.18, Windows 11 Enterprise 26200 (issue-reported validation-layer runs).
  • AI-assisted: yes.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4904606757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7312). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T22:52:03Z. --- ### What The native-depth test fixture reuses its command buffers, but creates its command pool without `VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT`. Beginning a previously recorded buffer again is invalid without that pool flag and produces `VUID-vkBeginCommandBuffer-commandBuffer-00050` with Khronos validation. Add the required reset permission to this test-only pool. Fixes #7311. ### Tested - Compiled the changed `NativeMultisampleDepth.cpp` translation unit with the Linux project build command; compilation passed. - The issue report records the unchanged fixture producing 20 validation errors and the fix passing each clear/refusal group three times with zero validation errors on Windows 11 Enterprise 26200 / NVIDIA GeForce RTX 5080 (driver 32.0.16.1062) and AMD Radeon Graphics (driver 32.0.21036.18), with Khronos validation 1.4.363. - I could not run the focused executable on this Linux Xeon E5-1620 v2: it exits at the project CPU-feature guard (missing LZCNT, BMI1, BMI2, MOVBE, AVX2 and FMA), before the fixture assertions. - Hosted conventions, eligibility and intake checks pass. The path filters skip the AGC build/test jobs for this test-only change, so hosted CI does not execute this fixture. ### Checklist - [x] Based on current `main`; no other open PR implements this change (manually checked the open PRs that touch this fixture). - [x] One topic per PR; follow-ups go in a new PR. - [x] No comments in code except technical debt. - [x] No unimplemented paths added. - [x] No notes, investigation files or images added. - [x] No third-party code added. - [x] Generic test-fixture behavior. - [x] Depends on: none. - [x] Fixes: #7311. - [x] Unblocks: none. - [x] GPUs tested: NVIDIA GeForce RTX 5080, driver 32.0.16.1062, Windows 11 Enterprise 26200; AMD Radeon Graphics, driver 32.0.21036.18, Windows 11 Enterprise 26200 (issue-reported validation-layer runs). - [x] AI-assisted: yes.
github-actions[bot] commented 2026-10-17 23:11:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T23:11:22Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6300 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6423 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6727 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6808 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6973 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6987 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6989 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 6995 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 7002 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6242889790 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7312#issuecomment-6242889790). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-17T23:11:22Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6423](https://www.github.com/boykopovar/AnyPS5/pull/6423) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6973](https://www.github.com/boykopovar/AnyPS5/pull/6973) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6987](https://www.github.com/boykopovar/AnyPS5/pull/6987) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` |
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
boykopovar/AnyPS5!7312
No description provided.