fix(libSceAgcDriver): convert fallback D16S8 depth copies and sampling #18185
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18185"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by hamb3r on 2026-11-10T18:41:46Z.
What
Support transfer, storage import/export and store-back of single-sample guest
D16_UNORM_S8_UINTsurfaces backed by hostD24_UNORM_S8_UINTorD32_SFLOAT_S8_UINT. Previously the host-format mismatch prevented storage import and rejected integer or multi-slice depth-plane sampling. These paths now convert between the host depth encoding and raw guest R16 words, including existing array/cube and layered-storage paths, while preserving stencil.The conversion uses transfer buffers and an ordinary storage-buffer compute pipeline. It implements nearest-even D16 export, retains resources/descriptors through their owning fence, and reports unsupported nonfinite D32 conversion at checked batch completion. Scoped depth storage separates typed R16 views from raw UINT views; storage-image tables retain their per-element numeric kind through reflection, resource keys and disk serialization (cache version 69).
This does not implement in-pass fallback D16 clear/write/bounds precision, multisampled fallback conversion, generic layered rendering, or driver-specific upload workarounds. Those remain separate work, including #17899.
Tested
Windows 10 Pro 22H2, build 19045; NVIDIA GeForce RTX 3080, driver 617.14 (Windows driver 32.0.16.1714, Vulkan 1.4.351) and AMD Radeon(TM) Graphics (RDNA2, driver 26.10.2, Vulkan 1.4.315); MinGW GCC 15.2.0, Ninja, Release, Vulkan SDK/validation layer 1.4.350.0. No title or performance claim.
Baseline: pinned main
94d70921fa01ff433b0adf720bf97a4f38f6cdad. Final commit:2a6c3ca09fe897d75bbd7117b7517ab76c265d23. Both source worktrees were clean.libs, graphics tests, all selected depth execution tests and image-table tests on both sides; built key-miss/resource-cache-growth targets on both sides. All build commands exited 0.agc_driver_d16_depth_copy,agc_driver_d16_depth_sampling,agc_driver_d16_depth_descriptor_lifetime,agc_driver_d16_depth_driver_failure(plusagc_driver_depth_storage_dispatch). On NVIDIA, forced D24S8 and D32S8 backing were exercised; on AMD RDNA2, nativeD16_UNORM_S8_UINTcontrol (bothFormat16Unormnormalized float andFormat16Uintraw code) and forcedD32_SFLOAT_S8_UINTbacking were exercised while unsupportedD24_UNORM_S8_UINThost mode was skipped cleanly. With Vulkan hidden (VK_DRIVER_FILES/VK_ICD_FILENAMESunset/hidden andANYPS5_REQUIRE_VULKANunset), all GPU execution tests includingagc_driver_d16_depth_driver_failureexit with77(VulkanTestSkipped).agc_graphics_profile_drawregression passed on baseline and candidate; this is CPU/fake-device coverage, not evidence of layer insertion.VUID-orSYNC-HAZARD-diagnostics occurred. Each test remained under 30 seconds.python3 tools/check_conventions.py --base origin/main: exit 0, three existing debt-length warnings;git diff --check origin/main: exit 0.All GPU runs used:
The common depth/image-table pattern was:
Key-miss/resource-cache-growth and the four new D16 tests ran in separate focused invocations. New tests are not counted as baseline passes.
Overlap check:
python3 tools/pr_overlap.py --branch fix/agc-d16s8-depth-copy-sampling --base main --repo boykopovar/AnyPS5examined 1,998 open PRs and exited 2, because 105 stale third-party branches could not be merged into the comparison base. Manual review covered all 105 unverified branches and 29 confirmed shared-hunk conflicts: no duplicate D16 fallback conversion, export/NID collision or same-new-file collision was found. Shared-hunk reconciliation remains relevant to #7256 (slice/copy identity), #17899 (separate precision work), and independent storage/table/reflection changes; many other conflicts are cache-version or adjacent CMake-list additions. #1368/#1395 generic arrays and the separately audited #15015/#16427 work are not dependencies. This manual disposition does not claim that the overlap script exited 0 or that merge order has been agreed with other authors.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)Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T16:18:45Z.
Review: COMMENTED
Reviewed — no blocking findings
The prepared description reports broad GPU and validation coverage, but I did not run those checks or read every changed file, so the evidence is insufficient for approval.
What I ran
ac271c611137564e77a0aa4a023d0104ae5dad86.ShaderResources.cpp,Texture.cpp, andTextureDetiler.cpp.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The claimed build, CTest, GPU, validation-layer, convention, and diff checks were not independently run. I did not read every changed file. In particular,
Recorder.cpp,DepthSurface.cpp, the test changes, and the remaining changed files were not fully reviewed. The full texts ofShaderResources.cppandTexture.cppwere excluded from the prepared bundle; I read only targeted ranges through the reader. No claims are made about unread code.To get this to a good state
Nothing is required. The author-reported checks are useful context, but this review is incomplete and does not support a formal approval.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T03:25:35Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Static review of head
392268630f54f6fe0187a132e29a91060b696cb7againstmain. I read the description, the commit list, the manifest, the file list and the fulldiff.patch, then checked the symbols and code paths the diff depends on at head with the repository reader. I did not build, did not run tests, and did not start subagents.Results
OnValidated,RestoreSyncSiteFindings
Blocking
None.
Non-blocking
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp:5236:DrainValidationFailurecatches everything thrown bySubmit()withcatch (...) {}. If the submit fails during the drain, for example with a lost device, that error is dropped and only the sticky validation failure is rethrown. The smallest fix is to log it the way the teardown path already does, for examplecatch (const std::exception& error) { std::fprintf(stderr, "[gpu] recorder drain: %s\n", error.what()); }.core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp:6680:resolveImageTablesnow callsStorageView(mip, firstLayer, uintStorage)for every element, not only for UINT elements. For an ordinary texture with a packed storage format, each float element now gets an extra image view, and a view-creation failure now rejects an element that was accepted before. The refusal of raw depth without a typed view is what the tests expect. Please confirm that eager views for ordinary float elements are intended.core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp:413: everyCommandBatchwhose context has a texture detiler now callsBeginStandaloneBatch(). While such a batch lives,TextureDetiler::BeginBatch()does not reset the descriptor rings, and recorder-path allocations skip pool reuse. Short-lived batches are fine. A batch kept across frames would make the detiler's descriptor pools grow. Please confirm that no batch outlives its submit-and-wait.Not verified
core/shader/recompiler/ShaderDiskCache.cpplines 1 to 60, nor anywhere in the repository search for= 69. The claim is unverified.reviewedwere read through their hunks indiff.patch;excludedwas empty. I did not open the full text infiles/.ShaderResources.cppandTexture.cppwere too large forfiles/, so "no blocking findings" covers their changed hunks only, not the whole files.Recorder.cpp(FinishUpTo,Sync,SyncThrough,Reap,syncThroughUnlocked,finish) were read but not traced end to end against the GPU mutex and recorder ordering.!publishActionspath inRecorder::finishdrops successful write-backs by design. I checked that serial bookkeeping still advances throughCompletedThrough(), but not guest-memory consistency after a failed batch.docs/dev/debt/changes/was read but not checked against the conventions document.To get this to a good state
Nothing is required. The non-blocking points above are optional.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T04:45:07Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected conversion and storage paths show no verified blocking defect; tests were not run independently, and several changed files remain unread.
What I ran
Reviewed head
fa2c0b9abcd049a723e2789df368f4b90d0e4a9cusing the prepared diff and pinned-head reader. No build or test commands were run.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The full text of
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cppandcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppwas excluded from the prepared folder; targeted portions of both were read through the reader. Other changed files listed in the manifest were not fully inspected. Hardware behavior and the reported build/test results were not independently verified.To get this to a good state
Nothing is required. Optional: run the reported focused build and test checks on this head.
Read:
description.md,commits.md,manifest.json,diff.patch; targeted source ranges inDepthSurface.cpp,TextureDetiler.cpp,Recorder.cpp,Resources.cpp,TextureDetilerDescriptors.cpp,ShaderResources.cpp, andTexture.cpp. Excluded from the prepared folder: fullShaderResources.cppandTexture.cpp. Other changed files were not read.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T08:43:29Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the reported validation supports the implementation, though the full review is incomplete because two changed implementation files were only read at selected ranges.
What I ran
47892a7133a03ba8f5e8f4ba42453a959a182748; no commands or tests were run by me.description.md,commits.md,manifest.json,diff.patch, and targeted pinned-head ranges viarepo_read.py.Results
Findings
Blocking
None identified in the code inspected.
Non-blocking
None.
Not verified
Graphics/src/ShaderResources.cppandGraphics/src/Texture.cppwere excluded from the prepared full-text bundle because they were too large. I read targeted ranges through the pinned reader, not every changed line. Other changed files and tests were inspected through the prepared diff; this review does not claim every changed file was read in full.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T11:25:59Z.
Review: COMMENTED
Reviewed — comments
The prepared change claims D16S8 fallback depth conversion and associated storage/reflection support; this review is incomplete because two changed source files were not read in full.
What I ran
Reviewed head
49c619ca7105e76f2ade35988d51c65a6c82010cusing the prepared description, commits, manifest, patch, and pinned repository reader. No build or tests were run by me; test results below are author-reported.Results
Findings
Blocking
None identified in the inspected portions; the review is incomplete.
Non-blocking
None.
Not verified
Full text was read for the changed files included in
review/files/listed in the manifest, with additional inspection of selected patch hunks and repository search results.core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cppandcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppwere excluded from the review folder for size; their search matches were inspected, but their full changed implementations were not read. No independent build, test run, hardware run, or negative control was performed. The test results in the PR description are author-reported.To get this to a good state
Nothing is required. Optional: complete inspection of the two excluded changed source files before making a formal approval decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T17:56:29Z.
Review: COMMENTED
Reviewed — comments
The prepared bundle and selected source ranges show plausible D16 fallback conversion paths, but the review is incomplete because two changed implementation files were not read in full.
What I ran
No commands were run. I inspected the prepared diff and manifest and read selected ranges from the pinned-head repository using
repo_read.pytools.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
I read
description.md,commits.md,manifest.json, and portions ofdiff.patch. Repository source ranges read:Lifecycle.cpp,Recorder.hpp,Resources.hpp,Texture.hpp,TextureDetiler.hpp,DepthConvert.comp, andDepthSurface.cpp. The changed filesShaderResources.cppandTexture.cppare excluded from the prepared full-text bundle and were not reviewed in their changed regions. Most other changed files were also not read. I did not run the build, tests, or reported checks; test results in the description are author-reported.To get this to a good state
Nothing is required. The review remains incomplete, so a formal approval is not justified.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-26T17:26:55Z.
Review: COMMENTED
Actionable comments posted: 3
29e5aad1-b0ba-4d00-a1fd-dae9beadabbbReviewing files that changed from the base of the PR and between
be2f2f3655andbdcd95ad06.core/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hppcore/libs/prx/libSceAgcDriver/Graphics/include/Resources.hppcore/libs/prx/libSceAgcDriver/Graphics/include/Texture.hppcore/libs/prx/libSceAgcDriver/Graphics/include/TextureDetiler.hppcore/libs/prx/libSceAgcDriver/Graphics/shaders/DepthConvert.compcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Resources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureDetilerDescriptors.cppcore/libs/prx/libSceAgcDriver/tests/DepthSurfaceReuse.cppcore/libs/prx/libSceAgcDriver/tests/KeyMiss.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthCopy.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthDescriptorLifetime.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthDriverFailure.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthSampling.cppcore/libs/prx/libSceAgcDriver/tests/execution/DepthStorageDispatch.cppcore/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cppdocs/dev/debt/changes/fix-agc-d16s8-depth-copy-sampling.mddocs/dev/debt/changes/fix-agc-d16s8-depth-quantization.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T17:36:38Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete because two changed implementation files were not available for full inspection, so the evidence does not support a formal merge decision.
What I ran
Reviewed head
bdcd95ad06ce94e2b48aedb1580608e7efc459b0using the prepared diff andrepo_read.py. No tests or builds were run by me; test results in the description are author reported.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
Read the description, commits, manifest, README, and prepared diff. Read the included changed files:
CMakeLists.txt,Lifecycle.cpp,Recorder.hpp,Resources.hpp,Texture.hpp,TextureDetiler.hpp,DepthConvert.comp,DepthSurface.cpp,Recorder.cpp,Resources.cpp,TextureDetiler.cpp,TextureDetilerDescriptors.cpp,DepthSurfaceReuse.cpp,KeyMiss.cpp,ShaderDiskCache.cpp,D16DepthCopy.cpp,D16DepthDescriptorLifetime.cpp,D16DepthDriverFailure.cpp,D16DepthSampling.cpp,DepthStorageDispatch.cpp,ImageTable.cpp, andfix-agc-d16s8-depth-copy-sampling.md.The full text of
ShaderResources.cppandTexture.cppwas excluded as too large for the review folder; their changed implementation was not read.fix-agc-d16s8-depth-quantization.mdis deleted. No command outputs or tests were independently checked.To get this to a good state
Nothing is required. Optional point: complete inspection of the changed code in
ShaderResources.cppandTexture.cppbefore making a formal approval decision.Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-26T22:28:10Z.
Review: COMMENTED
Actionable comments posted: 3
5631ce3f-7b11-4f66-95c9-18f2ff8c7fbbReviewing files that changed from the base of the PR and between
bdcd95ad06anda49f32c5bf.core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cppcore/libs/prx/libSceAgcDriver/tests/DepthSurfaceReuse.cppcore/libs/prx/libSceAgcDriver/tests/KeyMiss.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthCopy.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthDescriptorLifetime.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthDriverFailure.cppcore/libs/prx/libSceAgcDriver/tests/execution/D16DepthSampling.cppcore/libs/prx/libSceAgcDriver/tests/execution/DepthStorageDispatch.cppcore/libs/prx/libSceAgcDriver/tests/execution/ImageTable.cppdocs/dev/debt/changes/fix-agc-d16s8-depth-copy-sampling.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T22:37:22Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head
a49f32c5bf453216fea08f5c12faa2f3580f4c42. I inspected the prepared description, commits, manifest and diff, plus targeted ranges from the two excluded repository files usingrepo_read.py. No commands or tests were run.Results
Findings
Blocking
None in the code inspected.
Non-blocking
None.
Not verified
The full text of
ShaderResources.cppandTexture.cppwas not read; only targeted ranges were read. The remaining changed files were not read, and the author reported test runs were not independently verified.files.jsonwas not available; the reader’s file listing indicates 23 changed files included in the review folder and two excluded by size, with one deleted file having no new text. Thus this review is incomplete for an approval decision.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T23:43:46Z.
Review: COMMENTED
Reviewed — comments
Changes are required before merge: complete review of the excluded storage-image reflection and texture-format changes is needed before a formal decision is justified.
What I ran
Reviewed head
2231e9f28159652c0713c53be25dd808a1759031using the prepared diff andrepo_read.pytargeted reads. No build or tests were run; the checks in the PR description are author-reported.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The changed-file text read was limited to the relevant ranges of
DepthSurface.cpp,Recorder.cpp,Texture.cpp,TextureDetiler.cpp,ShaderResources.cpp, and the new conversion shader. Full text was not read for any changed file. In particular,Texture.cppandShaderResources.cppwere excluded fromfiles/as too large; only targeted ranges and diff hunks were reviewed. The remaining changed files listed in the manifest were not individually inspected. No tests were run by this review.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-28T11:58:09Z.
Review: COMMENTED
Actionable comments posted: 2
62e225ae-c2a7-480d-acc5-90a5620d5849Reviewing files that changed from the base of the PR and between
2231e9f281and081e1b55e0.core/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hppcore/libs/prx/libSceAgcDriver/Graphics/include/Resources.hppcore/libs/prx/libSceAgcDriver/Graphics/include/Texture.hppcore/libs/prx/libSceAgcDriver/Graphics/include/TextureDetiler.hppcore/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Resources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureDetilerDescriptors.cppcore/libs/prx/libSceAgcDriver/tests/DepthSurfaceReuse.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T12:10:57Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head
081e1b55e0c1e4750d3adba71f74a303d95801ecusing the prepared diff andrepo_read.pyat the pinned head. I did not run commands or tests; the build and test results below are author reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
I read the prepared description, commits, diff, manifest, and the full head text for the changed conversion shader. Through the pinned reader I also read targeted ranges of
TextureDetiler.cpp,Resources.cpp, andRecorder.cpp. The remaining changed files were not read in full; the prepared bundle'sfiles.jsonwas unavailable through the reader, so I could not confirm which files were excluded. Physical-console behavior, local builds, tests, and CI were not verified. The GPU/build/check results in the description are author reported.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-28T14:28:27Z.
Review: COMMENTED
Actionable comments posted: 2
d3e1353f-d185-4a83-9641-adca1596ae87Reviewing files that changed from the base of the PR and between
081e1b55e0andd758e5d60a.core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T14:42:25Z.
Review: COMMENTED
Reviewed — comments
The reviewed conversion paths show no verified blocking defect, but the review is incomplete because several changed files were not read and the reported checks were not run here.
What I ran
Inspected the prepared diff for head
d758e5d60af918f160660a08c2a3ef6cc8a90021and targeted source context. No commands or tests were run.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The full text of
Graphics/src/ShaderResources.cppandGraphics/src/Texture.cppwas excluded from the review folder and not read through the reader. Other changed files were also not inspected in full; see the changed-file list in the prepared manifest. The reported builds, CTests, GPU runs, validation-layer output, and convention checks were not run by this reviewer. No conclusion is made about those files or checks.Files read:
review/description.md,review/commits.md,review/manifest.json,review/diff.patch,Graphics/shaders/DepthConvert.comp,Graphics/src/DepthSurface.cpp,Graphics/src/Resources.cpp, andGraphics/src/TextureDetiler.cpp. Excluded from the review folder by size:Graphics/src/ShaderResources.cppandGraphics/src/Texture.cpp; the deleted debt note has no head text.To get this to a good state
Nothing is required. Optional: complete review of the unread changed files and run the reported checks on this head before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T22:27:59Z.
Review: COMMENTED
Reviewed — no blocking findings
The prepared description reports broad targeted GPU coverage, but this review inspected only part of the diff and did not independently run checks, so a formal approval is not justified.
What I ran
diff.patch.Results
Findings
Blocking
None identified in the portion inspected.
Non-blocking
None.
Not verified
The remaining diff, including later
DepthSurface.cpphunks and most changed files, was not read. Full text was excluded forShaderResources.cppandTexture.cpp; these files were not read through the repository reader. I did not verify the code paths, tests, or checks described by the author.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T09:39:01Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected source supports the described fallback depth conversion; GPU and build results are author-reported and were not independently run here.
What I ran
Inspected the prepared diff and targeted source context at head
b51d3be655a5e940a4efbafb03bed43b063a29e7. No build or tests were run. The full text ofShaderResources.cppandTexture.cppwas excluded from the review folder; I read targeted ranges from both throughrepo_read.py. The deleted debt note has no head text.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
None.
Not verified
I did not independently verify the reported builds, CTest runs, GPU behavior, validation-layer output, or overlap review. The full text of
ShaderResources.cppandTexture.cppwas not read; only targeted ranges were inspected. Other changed files listed in the manifest were not all read in full. The deleted debt note was not inspectable at the head.Files read:
description.md,commits.md,manifest.json,diff.patch,core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp(targeted ranges), andcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp(targeted range). Other changed files were not read in full.To get this to a good state
Nothing is required. The reported checks are optional context and were not independently confirmed.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T17:14:38Z.
Review: COMMENTED
Reviewed — no blocking findings
The prepared diff describes D16S8 fallback depth conversion and sampling; I found no verified blocking defect in the portions inspected, but could not complete the review.
What I ran
Reviewed head
de985d07c8e647c20f27a14f0562485a7948a437. Read the prepared description, commits, manifest, diff, and selected head snapshots. The firstrepo_read.py catreturned the shader; its next call failed because it could not append to the read log in the read-only run. No tests or build commands were run.Results
Negative control
Not run; no test was run.
Findings
Blocking
None verified in the inspected portions.
Non-blocking
None.
Sources
Inspected prepared head snapshots for
DepthConvert.comp,TextureDetiler.cpp,Resources.cpp,TextureDetilerDescriptors.cpp, and selected portions ofDepthSurface.cppandLifecycle.cpp. The prepared diff and manifest were also read. No commit-pinned permalinks are available from the prepared review materials.Not verified
The review is incomplete: I did not inspect all changed files, callers, or tests. In particular, behavior in
Recorder.cpp,Texture.cpp,ShaderResources.cpp, and the changed tests was not verified. The reported Windows/GPU test runs and validation-layer results are author-reported, not runs performed here.files.jsonlists 24 reviewed paths; only selected snapshots and ranges were inspected. The deleted debt note has no head text to read.To get this to a good state
Nothing is required. Optional: rerun the review with a writable reader log so the remaining changed paths and callers can be checked.