test(agc): align the indirect arguments block at run time #6452

Merged
Amoenus merged 1 commit from upstream-pr/6452 into main 2026-10-17 00:53:44 +00:00
Amoenus commented 2026-10-15 16:03:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-15T16:03:54Z.


What

Fixes #6716. Restore the Windows build of agc_driver_gpu_indirect_arguments_misaligned_writer_ahead, added by merged #5747. The required WinLibs GCC 15.2.0 r7 rejects its alignas(65536) static object:

error: requested alignment '65536' exceeds object file maximum 8192

Select an aligned 64 KiB span inside a zero-initialized 2 * BlockBytes - 1 backing array. The storage lasts for the whole process and always has room for the aligned span. An explicit runtime assertion checks alignment. The registered range remains 64 KiB; ArgumentsOffset=4, shaders and the 24-group/two-adopted-dispatch assertions are unchanged. No production driver changes.

Reported on the original PR in this comment. No overlapping open fix was found at preparation time; later alternatives are tracked below.

Tested

Windows 11 Enterprise 26200, WinLibs GCC 15.2.0 r7, Release/bundled dependencies. Head 4fe92c9c23c7bd861d63664d4efde3033b6226f6, main 0029e62f974c453a5f6c7333f3bdb13e770e3903; live main at readiness check 0029e62f974c453a5f6c7333f3bdb13e770e3903.

  • Unchanged main 0c4816f61: compiling this fixture's object target fails with the diagnostic above. Its source is byte-identical at main0029. This is a compiler regression control, before GPU execution.
  • Full Windows app and libs builds, conventions and test-registration checkers pass, with all execution fixtures built.
  • 8 related indirect/gate CTest groups pass five serial repetitions under each GPU selector; another 20 fresh processes of the corrected fixture per GPU pass. Every corrected-fixture run identifies the requested physical device and checks the original shader results. Shader cache disabled, Vulkan required, 30-second limit; maximum group time 2.34 s.
  • Clang-tidy 23.1.3 reports no selected diagnostics. Cppcheck 2.20 reports one existing CastAddressToIntegerAtReturn portability advisory in unchanged Low(), which deliberately packs the low 32 address bits for the guest descriptor; its body is byte-identical to main. No diagnostics are suppressed and neither analyzer reports parser/configuration failures.

The original campaign above did not run Linux. The current-main Linux execution refresh is recorded below; no title-startup, performance or new full Linux application result is claimed.

Independent Windows confirmation from @johnmaia (source): required WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, main0029 versus this PR merged into that main. Main fails with the same alignment diagnostic; the corrected target builds and its fixture passes on NVIDIA RTX 4080 /617.42 and Intel UHD 770 /101.6129. These are the other contributor's target/fixture results, with no repetition counts or full-application test claim; our own repeated runs above remain RTX 5080 and AMD Radeon Graphics.

Checklist

  • Based on recent main (validated5d merge); #6726 consolidation resolved
  • One topic per PR; follow-ups go in a new PR
  • No comments in code added
  • No stubs or unimplemented paths introduced
  • No notes, investigation files or images added to the repository
  • New third-party code: n/a
  • Generic behaviour; unblocks the supported Windows test build
  • Depends on: none (#5747 merged)
  • Unblocks: none established for a title
  • GPUs tested: NVIDIA GeForce RTX 5080, driver 610.62 (32.0.16.1062), and AMD Radeon(TM) Graphics, driver 32.0.21036.18; Windows 11 Enterprise 26200
  • AI-assisted: yes, Codex; author responsible

Portability review and alternative correction

@jotitadev's macOS review independently ran a standalone globals snippet, not this fixture: Xcode 27 Apple clang, M2 Max, macOS 27.2. Apple's linker lowered 64 KiB section alignment to 4 KiB (x86_64) / 16 KiB (arm64); both O0 snippets produced a block at offset 0x8000 modulo 64 KiB. O2 happened to align it. The span plus runtime assertion addresses that layout dependency too. This is attributed snippet evidence, not a full macOS AnyPS5 build or GPU run; the source head is unchanged. The title now describes the general alignment correction.

Later-opened #6478 proposed an alternative correction of this same fixture using VirtualAlloc/aligned_alloc. Its author confirmed consolidation here and closed #6478. The overlap is resolved. This PR retains the static backing and runtime alignment assertion, full Windows build/regression, two-vendor repetition, and attributed independent RTX 4080 / Intel UHD 770 fixture checks above. Our #6498 validates with this PR's exact correction as its separate Windows build dependency.

Current-main portability and consolidation (2026-10-16 UTC)

Composition 861ad99e9 is main5d plus this unchanged head. The fixture source is byte-identical to4fe. Selected-target builds and the original test pass5/5 per RTX5080/Radeon integrated GPU on Windows11/GCC15.2r7, and5/5 on Ubuntu24/WSL2/GCC13.3/Mesa25.2.8 llvmpipe. Both device selections are checked per process; maximum1.12s/0.49s/0.21s, no skips. Conventions pass on both hosts. These are selected-target checks, not new full application builds; the earlier full Windows and static-analysis results retain their original pins. Detailed response and consolidation request.

Later-opened #6726 proposes dynamic allocation for this same declaration/failure; its author requested consolidation guidance. I compared its633078d1e head and recommend retaining this smaller static-span correction, as already done for closed #6478. #6716 is the same reported build failure. #6726 is now closed; the duplicate overlap is resolved.
Current Windows CI coverage: main93's successful job builds this target from tests/ExecutionTestNotBuilt.cpp, then CTest skips it. The workflow selects only three real execution fixtures. Thus that green job does not compile or validate the real over-aligned declaration addressed here. The actual-fixture local and independent validation above remains the relevant evidence; this log inspection is not a fresh current-main compile.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4876175075 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-15T16:03:54Z. --- ### What Fixes #6716. Restore the Windows build of `agc_driver_gpu_indirect_arguments_misaligned_writer_ahead`, added by merged #5747. The required WinLibs GCC 15.2.0 r7 rejects its `alignas(65536)` static object: ```text error: requested alignment '65536' exceeds object file maximum 8192 ``` Select an aligned 64 KiB span inside a zero-initialized `2 * BlockBytes - 1` backing array. The storage lasts for the whole process and always has room for the aligned span. An explicit runtime assertion checks alignment. The registered range remains 64 KiB; `ArgumentsOffset=4`, shaders and the 24-group/two-adopted-dispatch assertions are unchanged. No production driver changes. Reported on the original PR in [this comment](https://github.com/boykopovar/AnyPS5/pull/5747#issuecomment-6196365588). No overlapping open fix was found at preparation time; later alternatives are tracked below. ### Tested Windows 11 Enterprise 26200, WinLibs GCC 15.2.0 r7, Release/bundled dependencies. Head `4fe92c9c23c7bd861d63664d4efde3033b6226f6`, main `0029e62f974c453a5f6c7333f3bdb13e770e3903`; live main at readiness check `0029e62f974c453a5f6c7333f3bdb13e770e3903`. - Unchanged main `0c4816f61`: compiling this fixture's object target fails with the diagnostic above. Its source is byte-identical at main0029. This is a compiler regression control, before GPU execution. - Full Windows app and `libs` builds, conventions and test-registration checkers pass, with all execution fixtures built. - 8 related indirect/gate CTest groups pass five serial repetitions under each GPU selector; another 20 fresh processes of the corrected fixture per GPU pass. Every corrected-fixture run identifies the requested physical device and checks the original shader results. Shader cache disabled, Vulkan required, 30-second limit; maximum group time 2.34 s. - Clang-tidy 23.1.3 reports no selected diagnostics. Cppcheck 2.20 reports one existing `CastAddressToIntegerAtReturn` portability advisory in unchanged `Low()`, which deliberately packs the low 32 address bits for the guest descriptor; its body is byte-identical to main. No diagnostics are suppressed and neither analyzer reports parser/configuration failures. The original campaign above did not run Linux. The current-main Linux execution refresh is recorded below; no title-startup, performance or new full Linux application result is claimed. <!-- codex-independent-6452-vendors-v1 --> Independent Windows confirmation from @johnmaia ([source](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6196722511)): required WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, main0029 versus this PR merged into that main. Main fails with the same alignment diagnostic; the corrected target builds and its fixture passes on NVIDIA RTX 4080 /617.42 and Intel UHD 770 /101.6129. These are the other contributor's target/fixture results, with no repetition counts or full-application test claim; our own repeated runs above remain RTX 5080 and AMD Radeon Graphics. <!-- /codex-independent-6452-vendors-v1 --> ### Checklist - [x] Based on recent main (validated5d merge); #6726 consolidation resolved - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code added - [x] No stubs or unimplemented paths introduced - [x] No notes, investigation files or images added to the repository - [x] New third-party code: n/a - [x] Generic behaviour; unblocks the supported Windows test build - [x] Depends on: none (#5747 merged) - [x] Unblocks: none established for a title - [x] GPUs tested: NVIDIA GeForce RTX 5080, driver 610.62 (32.0.16.1062), and AMD Radeon(TM) Graphics, driver 32.0.21036.18; Windows 11 Enterprise 26200 - [x] AI-assisted: yes, Codex; author responsible <!-- codex-indirect-portability-overlap-v1 --> ### Portability review and alternative correction [@jotitadev's macOS review](https://github.com/boykopovar/AnyPS5/pull/6452#pullrequestreview-5537394334) independently ran a **standalone globals snippet**, not this fixture: Xcode 27 Apple clang, M2 Max, macOS 27.2. Apple's linker lowered 64 KiB section alignment to 4 KiB (x86_64) / 16 KiB (arm64); both O0 snippets produced a block at offset 0x8000 modulo 64 KiB. O2 happened to align it. The span plus runtime assertion addresses that layout dependency too. This is attributed snippet evidence, **not a full macOS AnyPS5 build or GPU run**; the source head is unchanged. The title now describes the general alignment correction. Later-opened #6478 proposed an alternative correction of this same fixture using VirtualAlloc/aligned_alloc. Its author [confirmed consolidation here and closed #6478](https://github.com/boykopovar/AnyPS5/pull/6478#issuecomment-6199108881). The overlap is resolved. This PR retains the static backing and runtime alignment assertion, full Windows build/regression, two-vendor repetition, and attributed independent RTX 4080 / Intel UHD 770 fixture checks above. Our #6498 validates with this PR's exact correction as its separate Windows build dependency. <!-- /codex-indirect-portability-overlap-v1 --> <!-- codex-pr6452-consolidation-main5d-v1 --> ### Current-main portability and consolidation (2026-10-16 UTC) [Composition 861ad99e9](https://github.com/Amoenus/AnyPS5/commit/861ad99e961d5b6180d1d255efd493f5cbb5a913) is main5d plus this unchanged head. The fixture source is byte-identical to4fe. Selected-target builds and the original test pass5/5 per RTX5080/Radeon integrated GPU on Windows11/GCC15.2r7, and5/5 on Ubuntu24/WSL2/GCC13.3/Mesa25.2.8 llvmpipe. Both device selections are checked per process; maximum1.12s/0.49s/0.21s, no skips. Conventions pass on both hosts. These are selected-target checks, not new full application builds; the earlier full Windows and static-analysis results retain their original pins. [Detailed response and consolidation request](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6211829023). Later-opened #6726 proposes dynamic allocation for this same declaration/failure; its author requested consolidation guidance. I compared its633078d1e head and recommend retaining this smaller static-span correction, as already done for closed #6478. #6716 is the same reported build failure. #6726 is now closed; the duplicate overlap is resolved. **Current Windows CI coverage:** [main93's successful job](https://github.com/boykopovar/AnyPS5/actions/runs/38941524429/job/117110373604) builds this target from `tests/ExecutionTestNotBuilt.cpp`, then CTest skips it. The [workflow selects only three real execution fixtures](https://github.com/boykopovar/AnyPS5/blob/93e54cedd3dd49eabf1c589f020b54758e0b6461/.github/workflows/build.yml#L459). Thus that green job does not compile or validate the real over-aligned declaration addressed here. The actual-fixture local and independent validation above remains the relevant evidence; this log inspection is not a fresh current-main compile. <!-- /codex-pr6452-consolidation-main5d-v1 -->
johnmaia commented 2026-10-15 16:13:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by johnmaia on 2026-10-15T16:13:56Z.


Windows check. Windows 11, WinLibs GCC 15.2.0 r7 (MinGW), Release, BUILD_TESTING=ON.

  • main 0029e62f9 doesn't build here: GpuIndirectArgumentsMisalignedWriterAhead.cpp:25:58: error: requested alignment '65536' exceeds object file maximum 8192.
  • With this PR (4fe92c9c2) merged into it, the target builds, and agc_driver_gpu_indirect_arguments_misaligned_writer_ahead passes on an RTX 4080 (NVIDIA 617.42) and an Intel UHD 770 (101.6129).

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6196722511 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6196722511). Originally posted by [johnmaia](https://github.com/johnmaia) on 2026-10-15T16:13:56Z. --- Windows check. Windows 11, WinLibs GCC 15.2.0 r7 (MinGW), Release, `BUILD_TESTING=ON`. - `main` 0029e62f9 doesn't build here: `GpuIndirectArgumentsMisalignedWriterAhead.cpp:25:58: error: requested alignment '65536' exceeds object file maximum 8192`. - With this PR (4fe92c9c2) merged into it, the target builds, and `agc_driver_gpu_indirect_arguments_misaligned_writer_ahead` passes on an RTX 4080 (NVIDIA 617.42) and an Intel UHD 770 (101.6129). AI-assisted: yes (Claude Code)
jotitadev commented 2026-10-15 17:36:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T17:36:18Z.

Review: COMMENTED


Static note from macOS, head 4fe92c9c2: this isn't Windows-only. Apple's linker doesn't reject alignas(65536) on a static object, it lowers it with a warning, so main's fixture can get a block that is not 64 KiB aligned there without any build error.

I compiled a minimal copy of the fixture's globals (alignas(256) array, alignas(65536) std::array<std::uint8_t, 65536> Block{}, alignas(256) array) with Apple clang from Xcode 27 on an M2 Max, macOS 27.2:

ld: warning: reducing alignment of section __DATA,__common from 0x10000 to 0x1000 because it exceeds segment maximum alignment   (x86_64)
ld: warning: reducing alignment of section __DATA,__common from 0x10000 to 0x4000 because it exceeds segment maximum alignment   (arm64)

x86_64 -O0: Block=0x102208000  mod 64K = 0x8000
arm64  -O0: Block=0x102df8000  mod 64K = 0x8000
x86_64/arm64 -O2: mod 64K = 0 (by chance of layout)

So on Mach-O the alignment depends on the layout. The aligned span inside a 2 * BlockBytes - 1 array, plus the new runtime Require, fixes it there too. The PR title could say "on Windows and macOS", or just "align the indirect arguments block at run time". #6478 uses std::aligned_alloc off Windows, which also gets it right on macOS.

I didn't build or run this fixture. The results above come from the standalone snippet only.

Written with AI assistance (Claude Code). I compiled and ran the snippet above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5537394334 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#pullrequestreview-5537394334). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-15T17:36:18Z. **Review:** COMMENTED --- Static note from macOS, head `4fe92c9c2`: this isn't Windows-only. Apple's linker doesn't reject `alignas(65536)` on a static object, it lowers it with a warning, so `main`'s fixture can get a block that is not 64 KiB aligned there without any build error. I compiled a minimal copy of the fixture's globals (`alignas(256)` array, `alignas(65536) std::array<std::uint8_t, 65536> Block{}`, `alignas(256)` array) with Apple clang from Xcode 27 on an M2 Max, macOS 27.2: ``` ld: warning: reducing alignment of section __DATA,__common from 0x10000 to 0x1000 because it exceeds segment maximum alignment (x86_64) ld: warning: reducing alignment of section __DATA,__common from 0x10000 to 0x4000 because it exceeds segment maximum alignment (arm64) x86_64 -O0: Block=0x102208000 mod 64K = 0x8000 arm64 -O0: Block=0x102df8000 mod 64K = 0x8000 x86_64/arm64 -O2: mod 64K = 0 (by chance of layout) ``` So on Mach-O the alignment depends on the layout. The aligned span inside a `2 * BlockBytes - 1` array, plus the new runtime `Require`, fixes it there too. The PR title could say "on Windows and macOS", or just "align the indirect arguments block at run time". #6478 uses `std::aligned_alloc` off Windows, which also gets it right on macOS. I didn't build or run this fixture. The results above come from the standalone snippet only. Written with AI assistance (Claude Code). I compiled and ran the snippet above on my machine.
screamm commented 2026-10-15 20:41:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-15T20:41:07Z.


Windows confirmation for #6452 (head 4fe92c9c2), independent of the author. Windows 11 Pro 26220, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, NVIDIA GeForce RTX 4070 (driver 596.21), PR merged into main 44df21632 with no conflicts.

  • main 44df21632 (control): building agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests fails with GpuIndirectArgumentsMisalignedWriterAhead.cpp:25:58: error: requested alignment '65536' exceeds object file maximum 8192. The alignas came in with #5747 (6b14169a4).
  • With the PR, the target compiles and links. ctest -R '^agc_driver_gpu_indirect_arguments_(misaligned_writer_ahead|written_ahead)$' --repeat until-fail:3 --timeout 300: both pass 3/3 (misaligned_writer_ahead 2.33/0.83/1.85 s, written_ahead 0.97/2.68/7.36 s). A verbose run shows the Vulkan device used and "gpu indirect arguments misaligned writer ahead test passed", so it is not a skip.
  • Read-through: the 64 KiB alignment is kept at run time (aligned span inside a 2*64 KiB-1 zeroed array, plus a Require on the address), with no platform ifdef, so the fixture requirement is not hidden; the same logic holds on ELF by reading, but I did not run Linux.
  • tools/check_conventions.py --base origin/main passes and git diff origin/main --check is clean.
  • Not checked: Linux/macOS runs, the full ctest suite, other GPUs. #6478 is closed in favour of this PR; merging this one is enough.

Written with Claude Code assistance (validation by a subagent, reviewed in this session).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6201838556 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6201838556). Originally posted by [screamm](https://github.com/screamm) on 2026-10-15T20:41:07Z. --- Windows confirmation for #6452 (head 4fe92c9c2), independent of the author. Windows 11 Pro 26220, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, NVIDIA GeForce RTX 4070 (driver 596.21), PR merged into main 44df21632 with no conflicts. - main 44df21632 (control): building `agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests` fails with `GpuIndirectArgumentsMisalignedWriterAhead.cpp:25:58: error: requested alignment '65536' exceeds object file maximum 8192`. The alignas came in with #5747 (6b14169a4). - With the PR, the target compiles and links. `ctest -R '^agc_driver_gpu_indirect_arguments_(misaligned_writer_ahead|written_ahead)$' --repeat until-fail:3 --timeout 300`: both pass 3/3 (misaligned_writer_ahead 2.33/0.83/1.85 s, written_ahead 0.97/2.68/7.36 s). A verbose run shows the Vulkan device used and "gpu indirect arguments misaligned writer ahead test passed", so it is not a skip. - Read-through: the 64 KiB alignment is kept at run time (aligned span inside a 2*64 KiB-1 zeroed array, plus a `Require` on the address), with no platform ifdef, so the fixture requirement is not hidden; the same logic holds on ELF by reading, but I did not run Linux. - `tools/check_conventions.py --base origin/main` passes and `git diff origin/main --check` is clean. - Not checked: Linux/macOS runs, the full ctest suite, other GPUs. #6478 is closed in favour of this PR; merging this one is enough. Written with Claude Code assistance (validation by a subagent, reviewed in this session).
MarcZX10 commented 2026-10-16 08:13:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T08:13:54Z.


I noticed #6726 was opened for the same MinGW alignas(65536) failure in this exact test file, using VirtualAlloc / aligned_alloc rather than this PR’s static backing span. Your PR reports repeated Windows fixture runs and independent GPU confirmation, while #6726 has only translation-unit checks so far. Would you prefer that #6726 close in favor of this PR, or is there a platform/build constraint this approach does not cover that should be consolidated before merge?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6211128185 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6211128185). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T08:13:54Z. --- I noticed #6726 was opened for the same MinGW `alignas(65536)` failure in this exact test file, using `VirtualAlloc` / `aligned_alloc` rather than this PR’s static backing span. Your PR reports repeated Windows fixture runs and independent GPU confirmation, while #6726 has only translation-unit checks so far. Would you prefer that #6726 close in favor of this PR, or is there a platform/build constraint this approach does not cover that should be consolidated before merge?
Amoenus commented 2026-10-16 08:53:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-16T08:53:04Z.


@MarcZX100 Consolidation confirmed: #6726 is closed in favor of #6452. I compared your head 633078d1e with this head 4fe92c9c2 and have not identified a platform constraint requiring the dynamic-allocation variant. This span keeps the original static lifetime/allocation class and registered 64 KiB footprint. The 2 * BlockBytes - 1 backing guarantees room for the aligned span, independently of section alignment, and the runtime assertion checks it.

I refreshed the original fixture on current main 5d9dcc42d: tested composition 861ad99e9. The fixture source is byte-identical to this PR head, with no changes to the shaders, ArgumentsOffset=4, 24-group result or two-adopted-dispatch assertion.

  • Windows 11 Enterprise26200 / WinLibs GCC15.2.0r7: selected target builds; five repetitions pass on RTX5080/610.62 and five on Radeon integrated graphics/32.0.21036.18. Both the preflight and submission device selections are verified in every run. Maximum1.12s/0.49s.
  • Ubuntu24.04 WSL2 / GCC13.3 / Mesa25.2.8 llvmpipe: selected target builds and the original fixture passes5/5, maximum0.21s. Both software-device selections are verified per process. No skips. Conventions pass on both hosts.

These are selected-target results, not new full application builds; the earlier full Windows build and independent vendor/macOS-snippet evidence keep their original pins in the description. This closes our previous Linux execution gap. No macOS full-build/GPU claim.

The earlier VirtualAlloc/aligned_alloc alternative #6478 was also consolidated here and closed. #6716 reports this same declaration/failure, so I linked it here too. I verified #6726's closed state and restored the duplicate checklist item. AI-assisted: Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6211829023 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6211829023). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-16T08:53:04Z. --- @MarcZX100 [Consolidation confirmed](https://github.com/boykopovar/AnyPS5/pull/6726#issuecomment-6212310816): #6726 is closed in favor of #6452. I compared your head `633078d1e` with this head `4fe92c9c2` and have not identified a platform constraint requiring the dynamic-allocation variant. This span keeps the original static lifetime/allocation class and registered 64 KiB footprint. The `2 * BlockBytes - 1` backing guarantees room for the aligned span, independently of section alignment, and the runtime assertion checks it. I refreshed the original fixture on current main `5d9dcc42d`: [tested composition `861ad99e9`](https://github.com/Amoenus/AnyPS5/commit/861ad99e961d5b6180d1d255efd493f5cbb5a913). The fixture source is byte-identical to this PR head, with no changes to the shaders, `ArgumentsOffset=4`, 24-group result or two-adopted-dispatch assertion. - Windows 11 Enterprise26200 / WinLibs GCC15.2.0r7: selected target builds; five repetitions pass on RTX5080/610.62 and five on Radeon integrated graphics/32.0.21036.18. Both the preflight and submission device selections are verified in every run. Maximum1.12s/0.49s. - Ubuntu24.04 WSL2 / GCC13.3 / Mesa25.2.8 llvmpipe: selected target builds and the original fixture passes5/5, maximum0.21s. Both software-device selections are verified per process. No skips. Conventions pass on both hosts. These are selected-target results, not new full application builds; the earlier full Windows build and independent vendor/macOS-snippet evidence keep their original pins in the description. This closes our previous Linux execution gap. No macOS full-build/GPU claim. The earlier VirtualAlloc/aligned_alloc alternative #6478 was also consolidated here and closed. #6716 reports this same declaration/failure, so I linked it here too. I verified #6726's closed state and restored the duplicate checklist item. AI-assisted: Codex. <!-- codex-pr6452-consolidation-main5d-v1 -->
MarcZX10 commented 2026-10-16 09:20:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T09:20:55Z.


I closed #6726 in favor of this PR as requested. I also checked the current conventions failure (run 38876675677): it is only the PR-template unchecked item Based on recent main (validated5d merge); #6726 consolidation pending. Since #6726 is now closed and your later comment records the current-main validation, updating the description/checklist and rerunning conventions should clear it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6212319517 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6212319517). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T09:20:55Z. --- I closed #6726 in favor of this PR as requested. I also checked the current conventions failure (run 38876675677): it is only the PR-template unchecked item `Based on recent main (validated5d merge); #6726 consolidation pending`. Since #6726 is now closed and your later comment records the current-main validation, updating the description/checklist and rerunning conventions should clear it.
MarcZX10 commented 2026-10-16 09:38:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T09:38:06Z.


Confirmed: the updated description now has a successful conventions run (38880685985). The stale checklist failure is resolved.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6212628471 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6452#issuecomment-6212628471). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T09:38:06Z. --- Confirmed: the updated description now has a successful conventions run (38880685985). The stale checklist failure is resolved.
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!6452
No description provided.