Repository navigation
fix(agc): back large pixel LDS with the storage buffer on Intel's Windows driver - #21683
oneandonlydean merged 2 commits into
Conversation
|
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.
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head c622d4de54123f16940016a92980b3668e4e9a78. I read the prepared description, commits, manifest, diff, and the changed VulkanDevice.cpp context through repo_read.py. No commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Diff review | passed | Both changed hunks inspected |
| Tests | not run | Author-reported results only |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The description reports Windows 11 Intel UHD results, but I did not run or independently verify them. The files.json inventory was unavailable through the reader. The VulkanDevice.cpp full text was excluded from the review folder; I inspected the changed function context only. docs/dev/debt/shader.md full text was listed as included, but I did not retrieve it from the reader. No other repository context, tests, or runtime behavior was verified.
To get this to a good state
Nothing is required.
|
Head No new failures and no new validation messages on either GPU.
Layer runs used AI-assisted: yes |
|
tested this on a second Intel machine + NVIDIA, works here
validation layer 1.4.363 loaded, 0 VUID lines on both GPUs. AI-assisted: yes |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The change enables the existing large pixel LDS buffer path for Intel proprietary Windows drivers; no blocking defect is evident in the inspected code.
What I ran
Reviewed head 92d83ca05c1511f1a7f17820e390ddbb658ebf2b. Read the prepared description, commits, manifest and diff, plus the changed debt note and targeted source context via repo_read.py. No tests were run in this review.
Results
| Check | Result | Note |
|---|---|---|
| Diff and targeted code review | passed | The new driver condition selects the existing buffer fallback. |
| Tests in this review | not run | The PR description reports Intel Windows runs; not independently verified here. |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Did not run tests or independently verify the author-reported Windows results. Reviewed changed files: core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp (changed line and nearby device setup), docs/dev/debt/changes/fix-agc-intel-pixel-lds-buffer.md (full file). files.json was not available in the prepared bundle; the manifest lists these two changed files, and both were read. No changed files were excluded from review.
To get this to a good state
Nothing is required.
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
|
UHD 770 desktop run. The Intel runs so far used laptop GPUs ( Setup: Windows 11 Pro 10.0.26300, i5-14600K, Intel UHD Graphics 770 (
Every log shows AI-assisted: yes |
|
ANV data point for the same test on Linux, where the failure is different: on Intel Arc B390 (Panther Lake, Xe3), Mesa 26.2.7 ANV, Fedora 44, Linux 7.2.10, GCC Release. Adding
Would you consider including Mesa ANV in this PR? If you'd rather keep it to the Windows driver, I can open a follow-up once this merges. |
|
@Script-hpp Thanks for testing on ANV. I would rather keep this PR to the Windows driver: it's already been tested on three Intel Windows machines, and I can't test Linux or Arc here. Please open the follow up once this merges. Your table already makes the case for it. |
|
Thanks, makes sense. I'll open the ANV follow-up once this merges. |
|
Independent Windows hardware validation on main Windows 11 Pro 10.0.26300, i7-13620H, WinLibs GCC 15.2.0 UCRT r7, Release. Intel UHD Graphics
Focused test validation only; no game or full-suite result is claimed. Exact revisions, commands, verbose logs and JUnit results are in the hardware-validation evidence archive. Evidence: hardware-validation-evidence.zip |
What
On Intel's Windows driver, a pixel shader that keeps the full 8192-dword LDS in a per-invocation
Functionarray loses the device:agc_driver_pixel_lds_limitfails every run withvkWaitForFences graphics: Vulkan result -4on Intel UHD Graphics (#12522). The storage-buffer pool that NVIDIA proprietary already uses for arrays abovepixelFunctionStorageDwordsneeds no vendor data (it sizes itself frommaxStorageBufferRange), so this enables it forVK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWSas well. WithoutVK_NV_shader_sm_builtinsthe threshold stays at the default 4096 dwords. The shader debt entry now names the Intel measurement.Part of #12522: this fixes the
pixel_lds_limitdevice loss only; the other failures listed there are unchanged.Tested
Windows 11 Home, i7-13620H, Intel UHD Graphics (8086:a7a8), Intel driver 101.7084, WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON.agc_driver_pixel_lds_limit: fails onmainwith device loss in 3 of 3 runs; passes 3 of 3 with this change, including the overflow case that only runs with the buffer pool (pixel LDS limit overflow passed).^agc_driver_.*(pixel|lds|ps_|fragment)withANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1:main49 of 50 (onlypixel_lds_limitfails), this change 50 of 50.ctest -R "^agc_driver_pixel_lds" -Vonmainand on this change withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_LOADER_DEBUG=layerand the LunarG SDK 1.4.363 layer. Each log showsInsert instance layer "VK_LAYER_KHRONOS_validation"for all four tests, neither containswas not found but was requested by env var VK_INSTANCE_LAYERS, and both have 0VUID-lines.Not tested on Intel Arc or on Linux (the Mesa ANV driver is unchanged).
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)