fix(agc): require the pass-input barrier only for an in-place read #7954

Merged
mazen320 merged 1 commit from upstream-pr/7954 into main 2026-10-20 12:24:18 +00:00
mazen320 commented 2026-10-19 16:02:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-19T16:02:55Z.


What

On Windows NVIDIA, index and vertex ranges are copied into a device buffer, so an open pass does not read the guest indices and StartDrawPass takes no barrier. agc_driver_pass_input_hazard still required that barrier and failed on this path. The barrier assertion now runs only when VulkanDevice::DrawInputsInPlace() is true. Coverage of both targets, and the stored indices {0, 0, 2}, still run on the copy path and on the in-place path.

Tested

Windows 11, NVIDIA GeForce RTX 5090, driver 617.42. After rebasing onto current main, agc_driver_pass_input_hazard with ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1: the default copy path exits 0, and APS5_DRAW_INPUTS_IN_PLACE=1 exits 0. Both print pass input hazard tests passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 5090, driver 617.42, Windows 11
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4923791740 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7954). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-19T16:02:55Z. --- ### What On Windows NVIDIA, index and vertex ranges are copied into a device buffer, so an open pass does not read the guest indices and `StartDrawPass` takes no barrier. `agc_driver_pass_input_hazard` still required that barrier and failed on this path. The barrier assertion now runs only when `VulkanDevice::DrawInputsInPlace()` is true. Coverage of both targets, and the stored indices `{0, 0, 2}`, still run on the copy path and on the in-place path. ### Tested Windows 11, NVIDIA GeForce RTX 5090, driver 617.42. After rebasing onto current `main`, `agc_driver_pass_input_hazard` with `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1`: the default copy path exits 0, and `APS5_DRAW_INPUTS_IN_PLACE=1` exits 0. Both print `pass input hazard tests passed`. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 5090, driver 617.42, Windows 11 - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-19 16:08:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T16:08:51Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6804 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp L317

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 1395 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 2434 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5021 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5431 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5441 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5499 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6146 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6177 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6202 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6290 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6615 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6683 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6788 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6947 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6960 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7201 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7292 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7332 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7371 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7449 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7464 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7484 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7647 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7922 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8004 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8014 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8105 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6271650531 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7954#issuecomment-6271650531). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T16:08:51Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp` [L317](https://github.com/boykopovar/AnyPS5/blob/a9c93a05cc2e78ed25003f7218ea4f7710d6f5db/core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp#L317) | | | 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 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4472](https://www.github.com/boykopovar/AnyPS5/pull/4472) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6202](https://www.github.com/boykopovar/AnyPS5/pull/6202) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6290](https://www.github.com/boykopovar/AnyPS5/pull/6290) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6960](https://www.github.com/boykopovar/AnyPS5/pull/6960) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7292](https://www.github.com/boykopovar/AnyPS5/pull/7292) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7371](https://www.github.com/boykopovar/AnyPS5/pull/7371) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7449](https://www.github.com/boykopovar/AnyPS5/pull/7449) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7464](https://www.github.com/boykopovar/AnyPS5/pull/7464) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7484](https://www.github.com/boykopovar/AnyPS5/pull/7484) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7647](https://www.github.com/boykopovar/AnyPS5/pull/7647) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 7922](https://www.github.com/boykopovar/AnyPS5/pull/7922) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 8004](https://www.github.com/boykopovar/AnyPS5/pull/8004) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 8014](https://www.github.com/boykopovar/AnyPS5/pull/8014) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 8105](https://www.github.com/boykopovar/AnyPS5/pull/8105) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` |
Chikimaro commented 2026-10-19 18:33:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Chikimaro on 2026-10-19T18:33:23Z.


Windows check at head cb7ee022c, on an RTX 5080 and an AMD iGPU, plus where the failure comes from on main.

agc_driver_pass_input_hazard on main 8e0fde7d5 fails on the RTX 5080 with pass input hazard without depth: a pass writing the indices an open pass reads in place took no barrier, and passes on the AMD iGPU in the same build. A first-parent bisect on the RTX 5080, from 659230f7b (passes) to 8e0fde7d5, gives 2b6c1112b, the merge of #6763, as the first bad commit; its first parent db73af350 passes. On main, APS5_DRAW_INPUTS_IN_PLACE=1 makes the test pass on the RTX 5080, and APS5_NO_DRAW_INPUTS_IN_PLACE=1 makes it fail the same way on the AMD iGPU, so the failure follows the copy path rather than the GPU.

With this PR, ctest -R '^agc_driver_pass_input_hazard$' --repeat until-fail:5, all four pass 5 of 5:

GPU draw inputs result
RTX 5080 default (copied) pass
RTX 5080 APS5_DRAW_INPUTS_IN_PLACE=1 (in place) pass
AMD Radeon iGPU default (in place) pass
AMD Radeon iGPU APS5_NO_DRAW_INPUTS_IN_PLACE=1 (copied) pass
  • NVIDIA GeForce RTX 5080, driver 616.92, Windows 11 Pro 10.0.26200
  • AMD Radeon(TM) Graphics (Ryzen 7 9800X3D integrated, device 0x13c0), driver 32.0.21045.5002, Windows 11 Pro 10.0.26200
  • WinLibs GCC 15.2.0 r7 (UCRT), Release

This is a run of the test only, not a review of the change.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6274416079 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7954#issuecomment-6274416079). Originally posted by [Chikimaro](https://github.com/Chikimaro) on 2026-10-19T18:33:23Z. --- Windows check at head `cb7ee022c`, on an RTX 5080 and an AMD iGPU, plus where the failure comes from on `main`. `agc_driver_pass_input_hazard` on `main` 8e0fde7d5 fails on the RTX 5080 with `pass input hazard without depth: a pass writing the indices an open pass reads in place took no barrier`, and passes on the AMD iGPU in the same build. A first-parent bisect on the RTX 5080, from 659230f7b (passes) to 8e0fde7d5, gives 2b6c1112b, the merge of #6763, as the first bad commit; its first parent db73af350 passes. On `main`, `APS5_DRAW_INPUTS_IN_PLACE=1` makes the test pass on the RTX 5080, and `APS5_NO_DRAW_INPUTS_IN_PLACE=1` makes it fail the same way on the AMD iGPU, so the failure follows the copy path rather than the GPU. With this PR, `ctest -R '^agc_driver_pass_input_hazard$' --repeat until-fail:5`, all four pass 5 of 5: | GPU | draw inputs | result | |---|---|---| | RTX 5080 | default (copied) | pass | | RTX 5080 | `APS5_DRAW_INPUTS_IN_PLACE=1` (in place) | pass | | AMD Radeon iGPU | default (in place) | pass | | AMD Radeon iGPU | `APS5_NO_DRAW_INPUTS_IN_PLACE=1` (copied) | pass | - NVIDIA GeForce RTX 5080, driver 616.92, Windows 11 Pro 10.0.26200 - AMD Radeon(TM) Graphics (Ryzen 7 9800X3D integrated, device 0x13c0), driver 32.0.21045.5002, Windows 11 Pro 10.0.26200 - WinLibs GCC 15.2.0 r7 (UCRT), Release This is a run of the test only, not a review of the change.
MaxLikesCode commented 2026-10-19 18:57:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MaxLikesCode on 2026-10-19T18:57:19Z.


Windows check on an Ada card at head cb7ee022c, merged into main ae7ad5ff9.

ctest -R '^agc_driver_pass_input_hazard$' -V with ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1:

Build draw inputs without validation with VK_LAYER_KHRONOS_validation
main ae7ad5ff9 default (copied) 5 of 5 fail 3 of 3 fail, 0 VUID-
main ae7ad5ff9 APS5_DRAW_INPUTS_IN_PLACE=1 3 of 3 pass 3 of 3 pass, 0 VUID-
this PR default (copied) 5 of 5 pass 3 of 3 pass, 0 VUID-
this PR APS5_DRAW_INPUTS_IN_PLACE=1 5 of 5 pass 3 of 3 pass, 0 VUID-

Every main failure is pass input hazard without depth: a pass writing the indices an open pass reads in place took no barrier. No log has was not found but was requested by env var VK_INSTANCE_LAYERS. The validation runs disabled implicit layers (VK_LOADER_LAYERS_DISABLE=~implicit~), so the loader inserted only the Khronos validation layer (Vulkan-ValidationLayers vulkan-sdk-1.4.363.0). agc_draw_inputs_in_place_driver, agc_draw_inputs_in_place, agc_draw_inputs_copied and agc_pass_hazards also pass with this PR.

  • NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200
  • WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON

This is a run of the test only, not a review of the change.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6274880405 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7954#issuecomment-6274880405). Originally posted by [MaxLikesCode](https://github.com/MaxLikesCode) on 2026-10-19T18:57:19Z. --- Windows check on an Ada card at head `cb7ee022c`, merged into `main` ae7ad5ff9. `ctest -R '^agc_driver_pass_input_hazard$' -V` with `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1`: | Build | draw inputs | without validation | with `VK_LAYER_KHRONOS_validation` | |---|---|---|---| | `main` ae7ad5ff9 | default (copied) | 5 of 5 fail | 3 of 3 fail, 0 `VUID-` | | `main` ae7ad5ff9 | `APS5_DRAW_INPUTS_IN_PLACE=1` | 3 of 3 pass | 3 of 3 pass, 0 `VUID-` | | this PR | default (copied) | 5 of 5 pass | 3 of 3 pass, 0 `VUID-` | | this PR | `APS5_DRAW_INPUTS_IN_PLACE=1` | 5 of 5 pass | 3 of 3 pass, 0 `VUID-` | Every `main` failure is `pass input hazard without depth: a pass writing the indices an open pass reads in place took no barrier`. No log has `was not found but was requested by env var VK_INSTANCE_LAYERS`. The validation runs disabled implicit layers (`VK_LOADER_LAYERS_DISABLE=~implicit~`), so the loader inserted only the Khronos validation layer (Vulkan-ValidationLayers `vulkan-sdk-1.4.363.0`). `agc_draw_inputs_in_place_driver`, `agc_draw_inputs_in_place`, `agc_draw_inputs_copied` and `agc_pass_hazards` also pass with this PR. - NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200 - WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON` This is a run of the test only, not a review of the change. AI-assisted: yes (Claude Code)
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!7954
No description provided.