Repository navigation
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — changes requested
Changes are required before merge: fix the expanded-index range check so it also rejects a negative resulting vertex index.
What I ran
Reviewed head d85e9ac04d8aa897d51921aaf790911658a49154. Read description.md, commits.md, manifest.json, diff.patch, and the full text of both changed files in review/manifest.json. No commands or tests were run; repo_read.py was unavailable in this session.
Results
| Check | Result | Note |
|---|---|---|
| Changed code review | failed | Expanded-index check misses lower bound |
| Tests | not run | Author-reported results not independently verified |
Findings
Blocking
Draw.cpp:1974: The expanded-index path checks onlymaxIdx + firstVertex <= UINT32_MAX. With a signed negative base vertex, this permits a lowest index smaller than the magnitude of the offset. For example, index 2 with offset -3 passes the upper-bound check, then the indexed range check at line 2096 rejects the same invalid draw later. The expanded path must validate the lower bound too, before the subsequent additions and index limit checks.
Non-blocking
None.
Not verified
The test file’s full text was included in the changed-file bundle, but the reader returned only the requested out-of-range slice for the test read; the changed test lines are visible in diff.patch. No test execution, author-reported validation, hardware behavior, or other repository context was independently verified. No files were excluded according to manifest.json; review/files.json was not available.
To get this to a good state
Add the lower-bound validation to the expanded-index path and run the focused draw tests, including a negative offset whose lowest expanded index would become negative.
|
@MarcZX10 thanks, you're right. Fixed in 4f888ba: the expanded-index check now also requires the lowest expanded index plus the base vertex to be at least 0, the same two bounds as the later indexed check. Before this commit such a draw was still refused, by the later indexed check with the same message, so nothing was fetched below vertex 0. The expanded path just didn't check it by itself.
Not done: game runs on 4f888ba. The Forza runs in the PR body were on d85e9ac. AI-assisted: yes (Claude Code). |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The reviewed change handles signed indexed base vertices and adds regression coverage for valid and invalid ranges; the available evidence supports merging.
What I ran
Reviewed head 4f888baf4a6b016330ecf057da5fc1e7647d07dd using repo_read.py to inspect the prepared diff and relevant code ranges. No commands or tests were run by me.
Read: description.md, commits.md, manifest.json, diff.patch, and all relevant ranges of Draw.cpp and DrawOffsetIndices.cpp. Both files listed in the manifest as reviewed were read. files.json was unavailable through the reader; its exclusions were not verified.
Results
| Check | Result | Note |
|---|---|---|
| Diff and code review | passed | Two changed files reviewed |
| Tests run by reviewer | not run | Author reports focused tests passed |
| Excluded files | not verified | files.json unavailable |
Findings
Blocking
None.
Non-blocking
None.
Not verified
I did not run tests or independently verify the author's test, hardware, or game-run reports. Excluded-file details were not available. The review was based on the prepared diff and the two changed files listed in the manifest.
To get this to a good state
Nothing is required.
|
NVIDIA run on Linux: no regression in the draw offset indices, indirect and graphics tests. Setup: RTX 3070 8 GB, NVIDIA 610.57.04, Ryzen 5 5600X, Debian 13 (kernel 6.12.115), GCC 13.3.0 Release, validation layer 1.4.335. Base is the merge-base 441fa65, head is 4f888ba.
Every Vulkan test's log selects the RTX 3070 and shows the layer inserted, none reports it missing, and no log has a AI-assisted: yes |
mihiii1337
left a comment
There was a problem hiding this comment.
Reviewed exact head 4f888baf4a6b016330ecf057da5fc1e7647d07dd. The new range checks correctly interpret the final indexed base vertex as signed, but the producer can still reject a valid signed result before those checks.
Driver::FoldDrawOffsets adds the shader/user-SGPR word to DrawParameters::firstVertex with an unsigned overflow test. For a direct indexed draw with GE_INDX_OFFSET=+3 and a folded shader base-vertex word of -3 (0xfffffffd), the correct final signed base vertex is 0. The current check treats the second word as 4294967293 and throws draw vertex offset overflow. The reverse -3 + +3 case has the same problem. The two new indexed fixtures both seed firstVertex=0, so they do not cover composition with the PM4 offset.
Please combine the two words in signed/widened arithmetic for indexed draws, check the representable final signed offset, and keep the existing unsigned behavior for non-indexed starts. Add a regression through the existing FoldedDraw wrapper with nonzero firstVertex, e.g. +3 plus shader -3 over {0,1,2}.
A local CPU probe using byte-verified copies of the exact drawUserWord, FoldDrawOffsets, and changed range logic reproduced both mixed-direction rejections and passed 12 boundary/negative controls; the exact changed Draw.cpp also passed a WinLibs compile-only check. Hosted Windows is green but its logged selection did not run draw_offset_indices; the author and peer GPU runs cover the current fixtures. I did not run a local GPU test.
The overlapping index-expansion hunk in #26041 merges cleanly with this head; this finding is in the unchanged producer-side folding code.
AI-assisted: yes.
|
@mihiii1337 thanks, confirmed and fixed in 8a0fcdd.
I also checked every other place the base vertex is combined or compared, and none needed a change:
New tests:
Results:
Not done: game runs on 8a0fcdd, Linux, other GPUs. AI-assisted: yes (Claude Code). |
mihiii1337
left a comment
There was a problem hiding this comment.
Re-reviewed fix head 8a0fcdd82559dd2a7e238653b46cf61fcb731cef. This resolves both parts of my earlier finding: indexed offset folding now uses a signed wide intermediate with checked narrowing, and every negative final indexed offset is routed away from the in-place writer.
Exact-source CPU A/B results:
- indexed folding mismatches: 90/196 on
4f888baf→ 0/196 here, including both+3 + (-3)cancellation directions and signed upper overflow; - unsigned/non-indexed controls: 0/196 on both revisions;
- extracted full
InPlaceIndexBehindWritergate with unrelated gates controlled: 4/28 → 0/28.
All four changed translation units pass WinLibs C++20 syntax checks. The recorder fixture generated its ten exact shaders with the previously built CPU glslang and current embed script, without Vulkan initialization. The new folded-draw tests cover positive/negative cancellation, signed overflow and returned vertex/instance IDs; the recorder cases discriminate the in-place gate.
Scope nuance is accurate: INT_MIN is a gate counterexample for 16-bit indices, not an otherwise renderable 16-bit draw; valid small negative offsets already selected the copy path before this follow-up. The production signed-fold fix remains independently necessary and proven. The author reports 171/171 focused tests on base and head with 223 validation-layer insertions and 0 VUIDs, plus negative controls. I ran no local GPU test. Merge preview with #26041 and current main is clean; hosted Windows is still running with no failures.
AI-assisted: yes.
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The indexed draw changes and the added regression cases were reviewed at head 8a0fcdd82559dd2a7e238653b46cf61fcb731cef; no blocking defect was found in the code read.
What I ran
No commands or tests were run. I read the prepared review bundle and used the pinned repository reader for the changed test file excluded from the bundle.
Results
| Check | Result | Note |
|---|---|---|
| Change and targeted code review | passed | Signed offset handling inspected |
| Tests and build | not run | Author-reported results were not rerun |
Findings
Blocking
None.
Non-blocking
None.
Not verified
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp was not read in full; its changed lines and surrounding function were read from the pinned head. No commands or tests were run. The author-reported test results and game behavior were not independently verified. Other GPUs, Linux, and title behavior for indirect negative offsets and expanded-index draws were not verified.
Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch; core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.cpp, core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp, core/libs/prx/libSceAgcDriver/tests/Recorder.cpp (targeted range), and core/libs/prx/libSceAgcDriver/tests/execution/DrawOffsetIndices.cpp (targeted ranges). Excluded from full-text bundle: core/libs/prx/libSceAgcDriver/tests/Recorder.cpp because it was too large.
To get this to a good state
Nothing is required.
|
Head Code. I found no problem.
Negative control. I copied the PR's
This matches the author's control on RX 6800. GPU.
Validation.
Host:
AI-assisted: yes |
|
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.
|
Independent NVIDIA Blackwell validation of
|
| OS | Windows 11 (x86-64) |
| Compiler | WinLibs GCC 16.2.0 (MinGW-w64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r3) |
| CMake / Ninja | 4.4.4 / 1.13.2, CMAKE_BUILD_TYPE=Release, BUILD_TESTING=ON |
| GPU | NVIDIA GeForce RTX 5070 Ti 16 GB, vendor=0x10de device=0x2c05, driver 621.24 |
| Validation layer | VK_LAYER_KHRONOS_validation 1.4.363 (Vulkan SDK 1.4.363) |
| Environment | ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, APS5_NO_PIPELINE_JOURNAL=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, VK_LOADER_DEBUG=layer |
| Head | 8a0fcdd825 |
| Base for the control | 441fa65119 (the merge base, same base the PR used) |
Build
cmake -S . -B build # exit 0, the new tests/execution/DrawOffsetIndices.cpp is picked up by the glob
ninja -C build agc_driver_draw_offset_indices_tests
Exit 0, plus the usual MinGW .rsrc merge failure: multiple non-default manifests link warning.
Results
ctest --test-dir build -R '^agc_driver_draw_offset_indices' -V, three tests per run, 3 consecutive runs:
| Run | _draw_offset_indices |
_poisoned |
_poisoned_in_place |
device=0x2c05 |
Instance layer inserts | VUID- |
|---|---|---|---|---|---|---|
| 1 | Passed, 1.54 s | Passed, 0.46 s | Passed, 0.44 s | yes | 3 | 0 |
| 2 | Passed | Passed | Passed | yes | 3 | 0 |
| 3 | Passed | Passed | Passed | yes | 3 | 0 |
| implementation reverted | Failed | Failed | Failed | yes | 3 | 0 |
3/3 tests green on every run, no skips, no was not found but was requested by env var VK_INSTANCE_LAYERS line, and 0 VUID- lines in all three runs. Each test prints its own verdict (draw offset index tests passed), so these are real device runs, not VulkanTestSkipped.
Negative control (implementation reverted, tests kept)
Keep the PR's tests and revert only the implementation to 441fa65119: Execution/src/Driver/Draw/IndirectDraw.cpp and Graphics/src/Draw.cpp. Rebuild is clean and all three suites fail with assertion output, not a crash:
a program that copies v5 and v8 before its fetch adds: folded value observable outside the fetch add: vertex 1 instance 1; expected 1 1
a program whose fetch adds are the only readers of v5, v8, s16 and s17: folded value observable outside the fetch add: vertex 0 instance 0; expected 0 0
a program that reads the instance add's carry: folded value observable outside the fetch add: vertex 0 instance 1; expected 0 1
a program whose vertex add is a clamped v_sad_u32: folded value observable outside the fetch add: vertex 1 instance 0; expected 1 0
0% tests passed, 3 tests failed out of 3
So on NVIDIA the new assertions fail exactly when the signed base-vertex handling is missing, and pass with it.
What this does and does not establish
Establishes, on native Windows 11 with GCC 16.2.0/UCRT in Release on an RTX 5070 Ti:
- the new
agc_driver_draw_offset_indicessuites build and pass on Windows/Blackwell, 3/3 tests, 3/3 runs, with the validation layer inserted at instance and device and zeroVUID-lines; - the tests create a real Vulkan device on this GPU and exercise the indexed-draw vertex fetch path (v5/v8 copies,
v_sad_u32clamped add, instance-add carry) through the SPIR-V the recompiler emits; - reverting only the two implementation files makes all three suites fail on the same assertions, so the fix is what they measure — this is the second vendor where that holds.
Does not establish:
- console behaviour: the expected folded values are the test's reading of the ISA, not a PS5 capture;
- the full 171-test sweep from the PR body: only the three
draw_offset_indicessuites were run here; - AMD/Intel parity: the Radeon RX 6800 result in the PR body is the author's; this machine has no AMD GPU, so cross-vendor agreement is inferred from two independent reports, not measured on one machine;
- no title or homebrew run, and no other Windows version or driver.
Workspace cleaned up afterwards: temporary branch deleted, main left at origin/main, no local changes.
|
RTX 3070 run of Tested
Not tested: AMD, titles. AI-assisted (Claude Code). |
8a0fcdd to
6080bb0
Compare
|
Rebased onto
Re-verified on Windows 11 Pro (build 26300), i9-9900K, WinLibs GCC 15.3.0 Release, AMD Radeon RX 6800 (AMD driver 26.10.1, Vulkan 1.4.315), Khronos validation layer 1.4.363.0:
Not done: new Forza run, Linux, or other GPUs on 6080bb0. AI-assisted: yes. |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing in the inspected changes shows a blocking defect, and the tests reported by the author cover the signed offset cases added here.
What I ran
Reviewed head 6080bb0b9372ff9d6eae0f170212093c52b57f80. No commands or tests were run; test results in the description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Source review | passed | Changed runtime paths and tests inspected |
| Tests | not run | Author reports focused tests passed |
| Negative control | not run | Author reports four expected failures |
Findings
Blocking
None.
Non-blocking
None.
Not verified
No test execution was performed. The game runs, other GPUs, Linux, and indirect or expanded-index negative-offset behavior in titles were not verified. Recorder.cpp was excluded from the prepared review bundle; its changed lines were read through the pinned-head reader, but its surrounding full test context was not reviewed. The other changed files were included and inspected at the relevant changed sections.
To get this to a good state
Nothing is required.
An indexed draw with a negative base vertex (a vertex offset that cancels the lowest index) threw "indexed draw vertex range overflow", because the offset was compared as unsigned. Vulkan's vertexOffset and the hardware's base vertex are signed; check the offset range of the lowest and highest index with signed arithmetic, track the lowest index of expanded indices, clamp the zero-fetch index limit with it, and measure the render-target alias check from the lowest vertex read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ET as signed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6080bb0 to
8f5ca2b
Compare
|
Rebased onto Re-verified on Windows 11 Pro (build 26300), i9-9900K, WinLibs GCC 15.3.0 Release, AMD Radeon RX 6800 (AMD driver 26.10.1, Vulkan 1.4.315), Khronos validation layer 1.4.363.0:
Not done: new Forza run, Linux, or other GPUs on 8f5ca2b. AI-assisted: yes. |
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the review supports merging.
What I ran
Reviewed head 8f5ca2b793c6210e10e065bae0fccc4d504938b2. I did not run commands or tests. I read the prepared description, commits, manifest, and diff, plus the relevant changed functions and test additions at the pinned head.
Results
| Check | Result | Note |
|---|---|---|
| Code review | passed | Signed indexed ranges checked |
| Tests in this review | not run | Author-reported runs only |
| Negative control | not run | Author reports four failures on prior code |
Findings
Blocking
None.
Non-blocking
None.
Not verified
I read the full text for IndirectDraw.cpp, Draw.cpp, and DrawOffsetIndices.cpp, and the changed Recorder.cpp lines through the pinned reader. All four changed files marked reviewed in the manifest were read; Recorder.cpp was excluded from the review folder because of its size, so I read only its changed region. I did not run the reported test suites or inspect unrelated file contents. Console behavior, other GPUs, Linux, and the title scenarios identified by the author as untested remain unverified.
To get this to a good state
Nothing is required.
|
Windows test at head Setup: Windows 11 Pro, RTX 4080 SUPER (driver 621.14), WinLibs GCC 15.2.0, Release, Ninja. Head merged onto
Did not run Forza Horizon 5. |
Plyxen
left a comment
There was a problem hiding this comment.
I read the diff at 8f5ca2b793. Windows 11, GCC 15.2, merged into main at cf556db18c3 together with other open PRs (so not an isolated build), with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 and VK_LAYER_KHRONOS_validation on an RTX 5080 (621.24) and a Radeon iGPU (26.11.2).
- the 186 tests of
agc_driver_draw_offset_indices_testsandagc_driver_recorder_tests(2 of them skip on the Radeon): pass on both GPUs. The loader log shows the layer inserted and no "was not found" line, and neither run has aVUID-orSYNC-HAZARDline. - Control (same tree and tests, the changed files of those PRs put back to
main's):agc_driver_draw_offset_indices, its two poisoned variants andagc_index_in_place_behind_writerfail on both GPUs: "draw vertex offset overflow", and a 16-bit index range "whose vertex offset of -2147483648 takes every index below vertex 0". The others pass.
Not checked: a title.
AI-assisted: yes (Claude Code)
ligmaSec
left a comment
There was a problem hiding this comment.
The signed widening covers both the offset fold and post-index range checks. The new fixture covers opposite-sign register offsets, both signed fold limits, a lowest effective vertex of zero and a quad that crosses below zero. Please add a successful expanded quad with a negative base and all raw indices above zero. That would exercise carrying the expanded minimum through to the vertex upload and alias calculation, beyond the expanded path's rejection case. The paired draw-offset and behind-writer tests are queued on Linux lavapipe.
AI-assisted: yes.
|
Tested
GPU (software Vulkan): 18 GPU tests (AGC) passed twice on Mesa lavapipe (Mesa 25.2.8-0ubuntu0.24.04.5 (LLVM 20.1.2)) on a GitHub-hosted Ubuntu 24.04 runner, with the Khronos validation layer on and the shader cache off, alongside main Not covered: GPU hardware. lavapipe runs Vulkan on the CPU, so this says nothing about how real GPU drivers handle the changed paths. AI-assisted: yes (Claude Code); the runs are automated, this summary was written from their reports. |
|
Validated Linux/RADV: RX 9070 XT (RADV GFX1201), Mesa 26.3.1, Khronos validation 1.4.363. Negative control: replacing only the indexed fold with the previous unsigned-overflow arithmetic leaves the rest of the PR intact and makes |
What
An indexed draw whose base vertex is negative threw
indexed draw vertex range overflow. The base vertex is added to every index, and a negative one is valid as long as the lowest index plus it is not below 0: the hardware's base vertex and Vulkan'svertexOffsetare signed.DrawrequiredfirstVertex <= UINT32_MAX - maxIndex, which reads -532 as 0xfffffdec. The adds after that check (minIndex += firstVertex,maxIndex += firstVertex) already wrap to the right vertices, andvkCmdDrawIndexedalready gets the offset asint32_t.The indexed range check now takes the offset as signed: the lowest index plus the offset must be at least 0, and the highest index plus the offset at most UINT32_MAX. The expanded-index path (quad lists and emulated strips) now tracks its lowest index and checks both bounds the same way. Two places used the offset as unsigned as well, and now take it as signed:
zeroFrom - firstVertex), where a negative offset gave 0;minIndex) instead of the offset.The vertex offset of an indexed draw can also come from two words: GE_INDX_OFFSET and a vertex shader's base-vertex user SGPR, which
Driver::FoldDrawOffsetsadds into the draw. That add used an unsigned overflow test, so +3 and -3, a final offset of 0, threwdraw vertex offset overflow. For an indexed draw the two words are now added as signed 32-bit values, and only a total outside the signed 32-bit range is refused. The in-place index path behind a pending GPU writer (InPlaceIndexBehindWriter, opt-in throughAPS5_INDEX_IN_PLACE_BEHIND_WRITER) compared the offset as unsigned too: a large negative offset with 16-bit indices, such as -2147483648, was bound in place with its lowest index taken as 0, and the range check then refused the draw. A negative offset now stays on the copy path, which measures the real index range.Non-indexed draws are unchanged: their first vertex is an unsigned start.
Changes
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp: the range checks above and the in-place index path.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.cpp: the signed fold inFoldDrawOffsets.core/libs/prx/libSceAgcDriver/tests/execution/DrawOffsetIndices.cpp(run byagc_driver_draw_offset_indices,_poisonedand_poisoned_in_place): a direct indexed draw with base vertex -3 over the indices 5, 3, 4 fetches vertices 2, 0 and 1 for both instances; GE_INDX_OFFSET +3 with s16 -3, and -3 with +3, over the indices 2, 0, 1 fetch vertices 2, 0 and 1; GE_INDX_OFFSET 0x7fffffff with s16 1, and 0x80000000 with s16 -1, are refused withdraw vertex offset overflow; an indexed quad-list draw with base vertex -3 over the indices 0, 1, 2, 2 is refused withindexed draw vertex range overflow.core/libs/prx/libSceAgcDriver/tests/Recorder.cpp(agc_index_in_place_behind_writer): 16-bit index ranges with the offsets -3 and -2147483648 stay on the copy path; the case that may bind in place now uses 0x7fffffff instead of 0xffff0000, which is -65536 as a signed offset.No debt entry changes: the change closes no recorded gap and adds none.
Tested
Windows 11 Pro (build 26300), Intel Core i9-9900K, AMD Radeon RX 6800 (AMD driver 26.10.1, Windows driver 32.0.21045.16010, Vulkan 1.4.315), MinGW-w64 GCC 15.3.0, Release,
main441fa65.Focused set (
agc_driver_graphics,agc_shader_memory,agc_driver_recorder,agc_driver_draw*,agc_driver_*vertex*,agc_driver_*index*,agc_driver_list_restart*,agc_driver_zero_stride*,agc_driver_relative*,agc_driver_mesh*,agc_driver_stencil_replay*,agc_embedded_vertex*,agc_driver_indirect*,agc_index_*,agc_driver_pm4*) withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(1.4.363) andVK_LOADER_DEBUG=layer:main441fa65VUID-linesRebased onto
origin/main0af6efa as 6080bb0 (resolving conflicts with merged #26775 by preserving!wholeRangeonfirstByteinDraw.cppand the 5-argumentattempt(...)signature intests/Recorder.cpp). Re-verified on the same RX 6800 withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(1.4.363.0),VK_LOADER_DEBUG=layer:agc_driver_draw_offset_indices*,agc_index_in_place_behind_writer,agc_driver_graphics,agc_driver_list_restart*,agc_driver_indirect*,agc_driver_zero_stride*,agc_driver_recorder): 20 / 20 passed on bothorigin/main0af6efa and 6080bb0, 34 validation layer inserts on both, 0VUID-lines.origin/main0af6efa'sDraw.cppandIndirectDraw.cppagainst 6080bb0's tests): 4 / 4 failed (agc_driver_draw_offset_indices,_poisoned,_poisoned_in_placewithAGC driver: draw vertex offset overflow, andagc_index_in_place_behind_writeron the -2147483648 case); all 4 pass on 6080bb0.tools/check_conventions.py --base origin/mainandtools/debt_fold.py --checkpass on 6080bb0.Forza Horizon 5 (PPSA22327 01.685.672), local stack of open PRs:
py -3 tools/check_conventions.py --base origin/mainandpy -3 tools/debt_fold.py --checkpass.py -3 tools/pr_overlap.py --branch fix/agc-negative-base-vertex(2,508 open PRs): all 83 mergeable PRs that share files merge cleanly. The 45 PRs that conflict withmainwere searched by hand; #9897 and #14032 setdraw.firstVertexin tests, #10193, #13928 and #22647 change where the zero-fetch vertex attributes come from, and #22647 callsFoldDrawOffsets; none takes the base vertex as signed or changes the fold or the in-place index check.Not tested: a negative base vertex through an indirect draw's arguments in a title, the expanded-index path with a negative base vertex in a title, other GPUs, Linux.
Related
Part of the Forza Horizon 5 (PPSA22327) bring-up, #25152. It was found on the stack of PRs the game needed (#24960, #24994, #25151, #25867–#25874, #26034 and #26035 are now merged; #23688, #23545, #21479, #11825, #23778, #21155, #22306 and #21199) and stands alone: it applies to
mainby itself and needs none of them to build or pass its tests.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)mainand this change, 0 VUIDs🤖 Generated with Claude Code
Summary by CodeRabbit