Skip to content

fix(agc): keep texture images inside their extent's mip chain - #6280

Draft
fdfawef324 wants to merge 6 commits into
boykopovar:mainfrom
fdfawef324:claude/agc-cap-texture-mip-chain
Draft

fdfawef324 wants to merge 6 commits into
boykopovar:mainfrom
fdfawef324:claude/agc-cap-texture-mip-chain

Conversation

@fdfawef324

@fdfawef324 fdfawef324 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What

A guest texture descriptor can name more mip levels than Vulkan permits for its extent. Cap sampled, storage and expanded-copy images at the physical chain; bound their allocations, views, uploads, blits, barriers, clears and write-back. Extra-level storage views and attachments remain refused; #7085 supplies separate backing in a follow-up.

Demon's Souls PPSA01342 originally lost the device after a 28x1 BC3 array declared ten levels while the extent held five. The private integration fault pointed to the first byte beyond that image. This is historical diagnosis; it is not a fresh title run on the final rebase.

For the decoded views exercised here (MAX_MIP = LAST_LEVEL), image_get_resinfo retains the guest level count and returns 1x1 spatial extents for extra levels within that count. At LOD >= count, it zeros every extent/layer component and retains the count. The emitter selects a valid physical query LOD before asking Vulkan, including for LOD 31 / UINT_MAX. Single-level descriptors with an unrepresented base refuse texel loads and LOD queries; pure size queries remain valid. Repacked storage-to-sampled copies use the same allocation/view cap.

The rebase preserves #6054's uploadImage path and passes physical geometry.imageLevels/copyLevels through sRGB image creation, blits, views and refresh. It retains main's ConvertedSampleRequired alongside ViewLevelsPastChain/LevelsPastChain, and keeps convertedSamples and levelUses in the cache encoder, decoder and nonzero round-trip fixture. Final cache format: 41; ImageResource guard: 40.

The existing decoder still clamps raw LAST_LEVEL to MAX_MIP when BASE_LEVEL <= MAX_MIP. The reported 28x1 LAST_LEVEL=9 / MAX_MIP=0 count of ten remains a discrepancy; this change does not fix it. A CPU LAST9/MAX6 control pins that unchanged decode. Samples/gathers past the chain still clamp to represented data, with console behavior unverified. There is no local PS5 or 3D/cube resinfo hardware claim.

External evidence is attributed, not counted as our own testing:

  • XairRrR reports Uncharted PPSA05684 overlong storage chains and eight ten-minute composed Linux/RTX4070TiSUPER runs without device loss. This supersedes the old no-title-use statement; no missing-level access was reported.
  • fisherjoey reports one 1500-second clean Demon's Souls PPSA01341 run and feat(agc): sample 8 and 8_8 sRGB textures through an RGBA8 sRGB copy #6054 composition guidance, adopted here. That run tested the driver commit. Their later stack passed 1535/1536 lavapipe tests, with application_heap_lazy also failing previously; no game run was claimed on that later build. Its suggested format40 applied to its earlier main, so this rebase uses the next available version on its own pinned base.
  • thuanquang reports RX 6700 XT/gfx1031 HIP query counts/extents, zero extents beyond count and distinct texels for extra mip loads. That is desktop RDNA2 evidence, not PS5 or sampling/gather coverage; the raw LAST_LEVEL/MAX_MIP discrepancy above remains.
  • Amoenus's #7085 remains the extra-level representation follow-up, whose reviewed head was based on the earlier c80ba9e prerequisite. Its composed-title outcomes are not standalone cap-only success evidence.

Tested

Windows Server 2025 (10.0.26100), WinLibs MinGW-w64 GCC 15.2.0, Release. Final publication candidate 0e1f2ab53b596a4d33ec8426097bda2c05b82068 on main 676d423968a1a8fcc79c6247020ce22090a8e0d4.

Seven selected Release/O3 targets complete; the final restored incremental build took 14.06 seconds. Four CPU/mock CTests passed without skips in 14.91 seconds: agc_shader_bindless, agc_shader_memory, agc_shader_disk_cache and agc_driver_graphics. Two precise current-source controls failed at the intended single-unrepresented-base admission and repacked mip-5-of-5 copy assertions. Source was restored, rebuilt and retested. Conventions pass against the pinned base and later main 72a3d9f2a49d; its clean merge was checked separately from this 676-based execution.

The recording mock checks ordinary and beyond-chain sampled/upload/storage sRGB expansion and repacked-copy allocation, view and copy bounds. Device query fixtures cover shortened and ordinary five-level views, single-level base 7 / last 7, 2D/2D-array layouts, LOD=count/count+1/31/UINT_MAX, and uniform/mixed lanes. The inherited llvmpipe mixed-LOD exclusion remains; no Mesa-version cutoff is newly claimed.

Current-head device checks passed 5/5 registrations / four executables without skips in 4.35 seconds on the RTX 3060, sequentially in the managed slot. Required cases: image_levels_past_chain, image_sample_lod_clamp, image_srgb_load, image_srgb_sample_copy and forced sRGB-copy. The frozen naturally dirty query control at this same source head exited 1 in 0.90 seconds and reproduced both expected errors (LOD10 width1 instead of0; LOD5 width28 instead of0), with actual RTX/Vulkan initialization. The checker requires both diagnostics; this is an expected regression failure, separate from the five passing production cases. Device skips/exit77 are not passes. The selective control removes only the zero-extent selection, retaining the safe physical query LOD and guest count; count-boundary mismatches must be observed to count it as a meaningful red.

Runtime hashes were verified before and after; ANYPS5_REQUIRE_VULKAN=1 was set. No fresh title, FPS, console-equivalence or playability result is claimed by this update.

Shared-source coordination is pending: #7550 codec order and #7579 eligibility-line order propose this PR first, with both changes retained by the later rebase. Those proposals are not agreements, so the verified update remains a draft. #7085 already declares this PR as a prerequisite; its depth/layer/level argument order must be reconciled by meaning. There is no additional standalone build dependency or combined-runtime claim.

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: PPSA01342 Demon's Souls (PPSA01341) #1283, overlong image-chain stop only
  • GPUs tested: NVIDIA GeForce RTX 3060 12 GB, driver 591.86 (32.0.15.9186), Vulkan 1.4.325, Windows Server 2025 10.0.26100 (TextureMipChain is a recording mock; external vendor/title reports remain separately attributed)
  • AI-assisted: yes (Claude Code and Codex)

Co-Authored-By: Codex noreply@openai.com

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

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 862 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6924 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 7256 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7392 docs/dev/debt/shader.md
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7668 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7689 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 8246 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/GraphicsTests.hpp
PR 9289 docs/dev/debt/libSceAgcDriver.md
PR 9318 core/libs/prx/libSceAgcDriver/Graphics/include/TextureTiling.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp
PR 9356 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 9508 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9592 docs/dev/debt/libSceAgcDriver.md
PR 9633 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 9712 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9748 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9749 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/shader.md
PR 9790 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 9852 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9895 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9897 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 9915 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9969 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 10193 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10351 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 10359 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 10867 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 11483 docs/dev/debt/shader.md
PR 11551 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/libSceAgcDriver.md
PR 11587 docs/dev/debt/libSceAgcDriver.md
PR 11825 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12324 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 12746 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 12792 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12828 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 12904 docs/dev/debt/libSceAgcDriver.md
PR 12944 core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 12994 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 13147 docs/dev/debt/libSceAgcDriver.md
PR 13148 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 13251 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 13809 docs/dev/debt/libSceAgcDriver.md
PR 13863 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13920 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14217 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 14218 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 14473 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14853 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 14871 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 14944 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/libSceAgcDriver.md
PR 14964 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15058 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 15136 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15343 core/shader/recompiler/ShaderDiskCache.hpp
PR 15456 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 15488 docs/dev/debt/shader.md
PR 15529 docs/dev/debt/libSceAgcDriver.md
PR 15548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 15555 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 15570 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 16260 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 16321 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 16391 core/shader/recompiler/ShaderDiskCache.cpp
PR 16415 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
docs/dev/debt/shader.md
PR 16427 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 16472 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16571 docs/dev/debt/shader.md
PR 16631 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16812 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16814 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16935 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 16953 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 17022 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 17056 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 17606 docs/dev/debt/shader.md
PR 17611 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 17623 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 17943 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18029 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18082 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18106 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 18107 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
docs/dev/debt/shader.md
PR 18173 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 18177 docs/dev/debt/libSceAgcDriver.md
PR 18241 docs/dev/debt/shader.md
PR 18829 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 18956 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 19096 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 19429 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 19557 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 19610 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 19620 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19821 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 19852 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 20010 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20030 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
PR 20041 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 20130 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 20131 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 20153 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20183 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 20248 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 20519 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 20580 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 20728 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20891 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 20944 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 21199 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 21211 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 21240 core/shader/recompiler/ShaderDiskCache.hpp
PR 21669 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 21745 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21763 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21776 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 21948 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 21970 core/shader/recompiler/ShaderDiskCache.hpp
PR 21971 core/shader/recompiler/ShaderDiskCache.hpp
PR 22029 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22062 docs/dev/debt/libSceAgcDriver.md
PR 22071 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 22190 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 22251 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22328 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22424 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 22434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 22439 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22531 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 22546 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22583 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22602 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 22628 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22647 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22675 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 22690 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22692 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22697 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22703 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22731 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 22944 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 23234 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 23242 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 23244 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 23252 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23258 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23281 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23409 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 23545 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 23632 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 23666 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 23739 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 23811 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23818 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24049 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24083 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24294 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 24327 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24444 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 24445 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 24523 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 24661 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 24704 core/shader/recompiler/ShaderDiskCache.hpp
PR 24714 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 24780 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 24781 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 25010 core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 25489 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25534 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25557 core/libs/prx/libSceAgcDriver/Graphics/include/TextureTiling.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25559 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 26012 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 26040 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26084 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26365 core/shader/recompiler/ShaderDiskCache.cpp
PR 26630 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 26691 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 26797 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 26802 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 27133 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 27648 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 27670 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 27672 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 27698 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 27779 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 27811 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 27812 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
PR 27887 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 27947 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 27966 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28059 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28070 core/shader/recompiler/PipelineSpecialization.hpp
PR 28077 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28090 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 28102 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28118 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28119 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28132 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 28142 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28166 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28169 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28186 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28193 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28197 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28198 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28209 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28214 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28228 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/RuntimeAbi.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 28229 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28237 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28240 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28242 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 28250 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28268 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28289 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28291 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28292 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28293 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28295 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28296 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28311 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28324 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 28325 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 28332 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28333 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28350 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28372 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28384 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28387 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28390 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28396 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28400 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28403 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28410 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28411 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28414 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28469 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 28470 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 28487 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 28488 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28490 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28520 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28559 docs/dev/debt/libSceAgcDriver.md
PR 28564 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28583 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28586 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28590 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/PipelineSpecialization.hpp
PR 28605 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28622 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 28631 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28660 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28668 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
Report truncated: 80 more lines omitted.

This was referenced Oct 15, 2026
@Amoenus

Amoenus commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

26 November downstream status: #7085 is updated to f20354c93ad3, preserving @fdfawef324's 0e1f2ab5, #22724 84562572 and maintainer ancestry. The focused correction restores ordinary partial clears; the complete new fixture fails on the old handler and passes on the child. Full native libraries/relinker build, 34 physical-GPU processes + one Graphics host suite pass on RTX 5080/AMD 1002:13c0, with device/layer verified and no skips/validation diagnostics. Exact sources, control and raw evidence.

#6280 remains draft/conflicting and the physical-chain prerequisite for Sonic PPSA99902/#4443. #22724 is open/conflicting and remains agreed to go before #7085. Its maintainer rebase request is still for the branch author; this adapted downstream result does not qualify unchanged #6280 or current main.

The historical minimal-stack title result keeps its original pins. The new RTX 4080 SAROS report on #7085 needs a retest of this ordinary-clear correction; no local Sonic/SAROS/FPS claim or new shader-memory/cache executable result. AI-assisted: yes (Codex).

Pipodi pushed a commit to Pipodi/AnyPS5 that referenced this pull request Nov 14, 2026
…n their extent allows) at 5fb9380

FormatVersion 44 (main + boykopovar#6280 = 37, ours 43).

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — comments

The inspected mip-chain capping and resinfo paths appear consistent, but this review is incomplete because most changed files were not read.

What I ran

Reviewed prepared diff for head 0e1f2ab53b596a4d33ec8426097bda2c05b82068 and inspected targeted source ranges with repo_read.py. No build or tests were run.

Results

Check Result Note
Diff inspection passed Prepared diff reviewed
Build and tests not run No commands executed
Full changed-file review not run Most changed files unread

Findings

Blocking

None identified in the inspected portions.

Non-blocking

None.

Not verified

This review did not read every changed file, so it cannot support approval. Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp (lines 418–480), and core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp (lines 2070–2115). The changed core/libs/prx/libSceAgcDriver/tests/Graphics.cpp was excluded from the review bundle as too large; its changed line is visible in the diff. Most other changed files listed in the manifest were not read. review/files.json was not available through the reader. Author-reported builds, tests, and device checks were not independently verified.

To get this to a good state

Complete the review of the remaining changed files and run the relevant checks before making a formal approval decision.

@adriadam10 adriadam10 removed their assignment Nov 17, 2026
@bagodees

Copy link
Copy Markdown
Contributor

More data for this from Uncharted: Legacy of Thieves Collection (PPSA05684) on Windows 11, NVIDIA, WinLibs GCC 15.2 UCRT, Release, driver built from main at 47ccf3af4a with a temporary log line in DescribeSurface (mipCount > bit_width(max(width, height, depth))).

  • Two cold-cache runs of 8 minutes each both create overlong chains, starting during the first load. Every hit was the same shape: a 1D array (TextureDimension::k1DArray), 65x1, mipCount 8 against a physical chain of 7, in about 20 different guest formats.
  • Before this, the intermittent device loss we chased in this title was a GPU write fault in the 64 KB page right after a 4 MiB image slab block from BufferPool::AllocateImage. A 65x1 array is small enough to be packed into those blocks, and an image created with mipLevels past its chain has no defined memory size, so this fits the fault. Neither run here lost the device (the fault rate has been low since 14 November), so it is not confirmed as the cause.

AI-assisted: yes.

@dantdmdarealguy

Copy link
Copy Markdown
Contributor

Rebased onto current main (bc84729655) as a single commit, for testing and in case it helps the rebase requested above: dantdmdarealguy:rebase/6280-mip-chain (70f0f3fdf9, authored as you). It builds on Windows (WinLibs GCC 15.2.0, Release). How each conflict was resolved:

  • Texture.cpp:
    • main's layerRows, depth1D and maxImageArrayLayers code stays beside mipLevels = layerRows ? 1u : geometry.imageLevels in Texture and StorageTexture.
    • The upload loop starts at main's sparse skip and ends at geometry.imageLevels.
    • prepareSrgbView keeps main's imageViewMinLod gate around ViewMinLod.
  • Barriers: main changed the layer count to VK_REMAINING_ARRAY_LAYERS. That stays, and the level count is geometry.imageLevels. The same goes for two barriers main added since: the private-image readback and the single-region write-back.
  • Moved code:
    • main moved the copy refusals into CopyRefusal(), so "levels past the image" is checked there, on the source; the shapes are equal.
    • main moved the block-unit test into StorageBlockUnits(), which PrepareCreation also uses, so geometry.imageLevels == descriptor.mipCount went there.
  • New main code with the same rule:
  • Shader side: add/add conflicts, both sides kept. LevelsPastViewBase 8384 is still free (main added StoreQuantizeBase at 12288). fieldCount<ImageResource>() is 52 and FormatVersion is 89.
  • Tests: agc_driver_graphics_tests now lives in tests/cmake/agc_driver_graphics_tests.cmake, and TextureMipChain.cpp is listed there. Its mock needed vkGetImageMemoryRequirements2, which main's OwnedImage::Allocate calls.
  • Debt: since feat(tools): record debt changes in per-pull-request fragments #17217, debt changes go through a fragment, so both entries are in docs/dev/debt/changes/claude-agc-cap-texture-mip-chain.md, verbatim. The checker accepts no code comments next to a fragment alone, so the Technical debt: comments and the test's explanatory comments are dropped; the two entries say the same. The conventions check passes with two debt-length warnings: both entries are over 1000 characters.

Results on Windows 11 Pro, i9-14900K, RTX 5080, NVIDIA 621.14, with VK_LAYER_KHRONOS_validation 1.4.363, ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1:

  • agc_driver_image_levels_past_chain on unmodified main (the test file copied in) fails with 14× VUID-VkImageCreateInfo-mipLevels-00958 ("mipLevels (10) must be less than or equal to 5 (based on extent of width = 28, height = 1, depth = 1)"). It also reports that the base-level-7 image_load and image_load_mip were not refused.
  • On the rebase it passes, along with agc_driver_graphics (with the TextureMipChain cases), agc_driver_image_sample_lod_clamp(_shader_lane), agc_driver_image_srgb_load, agc_driver_image_srgb_sample_copy(_forced), agc_driver_view_past_last_mip and patched_libraries: 9/9, 0 VUID-.

Demon's Souls PPSA01341, same app.exe and warm shader cache for both builds, with the GPU otherwise idle:

  • The tutorial-load device loss reported above (most recently 5 of 5 warm loads on 14bff3fc4a, 11-11, driver 1742) no longer reproduces on current main: 0 of 5 warm loads with main and 0 of 5 with this rebase. Each load was watched for 20 minutes after Continue Offline and reached gameplay, with a heap budget of 11.4–12.7 GB.
  • With VK_LAYER_KHRONOS_validation from boot through character creation and a tutorial load, neither build logs any VUID-. So on today's main this path no longer creates the 28x1 images with 8–11 levels.
  • So on this title the change has nothing left to fix right now. The unit and Vulkan tests above still show the general case: a T# with more levels than its extent's chain makes main create an invalid image. The 65x1 arrays with 8 levels that bagodees reports in Uncharted are the same case.
  • The character-creation face (Demon's Souls: character-creation face texture's lower mip levels render corrupted (correct when zoomed in) #18463) looks the same with and without it: corrupted at the default camera distance, mostly correct zoomed in.

@bagodees

Copy link
Copy Markdown
Contributor

Uncharted: Legacy of Thieves Collection (PPSA05684) loses the device on NVIDIA with a write just past a packed image block, and the images it creates past their mip chain look like the cause. Windows 11, RTX 4080 (driver 621.01), main at a6c68e1953 plus #19652 and #22531, Release, with a temporary log of vkCreateImage and VK_EXT_device_address_binding_report.

  • Uncharted 4 Prologue: lost in both runs without the log (New Game, then loaded from its save) and in 1 of 3 loads with the log. In the logged loss the fault (write invalid at 0xc8f000000) is the first byte after a 4 MiB block of packed images (0xc8ec00000 + 0x400000), in the unbound gap before the next allocation. A fault on 2026-11-13 at 47ccf3af4a was at the same place after another block.
  • Each logged run creates 15 to 37 images with mipLevels over the chain, several with storage usage: R8G8B8A8_UNORM 16x16 with 14 or 15 mips, R16G16B16A16_SFLOAT 1280x720 with 15 (chain 11), A2B10G10R10_UNORM_PACK32 and R8_UINT 2560x1440 with 14 (chain 12). For a BC1 1024x1024 image with 13 mips the driver reports 0x5156c000 bytes. The last image bound into the faulting block before the loss was a 16x16 R8G8B8A8_UNORM storage image with 14 mips.

I have not run this PR on the title, so this does not show that it removes the loss.

AI-assisted: yes.

@akkadbakkad89

Copy link
Copy Markdown
Contributor

We hit this PR's conflict with main while validating the #18463 diagnosis (the uncapped imageInfo.mipLevels = descriptor.mipCount is still live on current main at 9c0d60cbfb, and the 28x1 BC3 mipLevels-00958 report in that issue matches this PR's case). Since the merge base 676d423968a1 is from 10-19, we mapped the conflict surface of a trial rebase to make the real one cheaper — posting it here in case it helps:

Graphics/src/Texture.cpp — 23 small hunks, two kinds:

  • ~15 are mechanical: upstream lines the PR rewrites as descriptor.mipCount → geometry.imageLevels and VK_REMAINING_ARRAY_LAYERS → geometry.imageLayers in barrier/view-range setup. Take the PR side once geometry is threaded through.
  • The semantic collisions are with upstream's post-October refactoring, and they're the real work:
    • the snapshot/residency preamble now involves LiveResourceRing::Note, MinLodResidentLevels, packedSlabs and sources — the PR's "levels past the extent are not uploaded" diagnostic and its snapshot-size Require need re-placing inside that machinery, not alongside the old one.
    • upstream consolidated copy eligibility into CopyRefusal(context, this, source, baseAddress); the PR's new "levels past the image" refusal condition belongs inside that helper now rather than in the old inline cascade.
    • layerRows/depth1D special-casing now shapes imageInfo.extent/mipLevels and barrier ranges (the layerRows ? 1u : ... forms) — the chain cap has to compose with those, not replace them.
    • StorageBlockUnits() is now a helper upstream; the PR's per-layer tracking condition for surfaces with levels past their image's needs merging into it.
    • upload loops gained per-layer CPU selection (selectedCpu/cpuLayers) alongside the mip loop bound.

Graphics/src/TextureTiling.cpp — additive only: upstream grew ComputeGcnMipLayout/GcnLevelSlices in the same region where the PR adds FullMipChainLevels; both coexist.

CMakeLists.txt — additive test-executable registration.

We did not start on commits 2–6 (the recompiler resinfo side); ResourceMaterializer.cpp/ResourceTracker.cpp/SpirvImageEmitter.cpp have seen 100+ upstream commits each since the base, so expect the same pattern there.

Once a rebase lands we can run agc_driver_texture_mip_chain and agc_driver_image_levels_past_chain on an RTX 3070 (Windows, driver 617.42) under VK_LAYER_KHRONOS_validation and post the datapoint here — the existing results are RX 6800 XT and RTX 5080, so a third vendor-generation combination should be useful either way.

@Amoenus

Amoenus commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@akkadbakkad89, our adapted downstream #7085 may help with the rebase: published a8a0932ff294 preserves @fdfawef324's 0e1f2ab5 ancestry and combines the physical-chain changes with main 72a366bbe440, including the firstUploaded/physical-level bounds and current copy-refusal machinery. Its Graphics suite and extra-mip/dimension GPU checks passed on RTX5080 and AMD1002:13c0; exact source and raw evidence.

This qualifies the adapted consumer, not unchanged #6280 or a composition with today's main. #6280 and #22724 remain prerequisites. Your RTX3070 datapoint would be useful once the actual #6280 head is refreshed; its separate physical-chain tests should retain that exact source pin. AI-assisted: yes (Codex).

@Amoenus

Amoenus commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

@fdfawef324 @oneandonlydean @akkadbakkad89 — I completed a history-preserving main merge for this prerequisite: Amoenus/AnyPS5 codex/refresh-6280-main-20261126, head c1c87a1c1a16. It retains published 0e1f2ab53b59 and tested main d5b7dccd75fc as ancestors; no force push or competing PR is needed.

The port keeps main’s snapshot/residency/firstUploaded, array/1D and centralized copy checks, adds the cap to the newer GCN geometry path, updates the recording allocator mock, and uses current CMake/debt fragments. Unmodified main: 38/38 GPU processes; refresh: 40/40; Graphics host suite passes on both pins. Full native libs/relinker builds pass. RTX 5080 and AMD 1002:13c0, required Vulkan/cache-off/Khronos validation, verified devices/layer, no skips or diagnostics. Exact pins, raw logs, initial mock failure and proposed updated description.

We have pull-only access to the source fork. The owner or an authorized upstream maintainer can adopt it:

git fetch https://github.com/Amoenus/AnyPS5.git codex/refresh-6280-main-20261126
git switch claude/agc-cap-texture-mip-chain
git merge --ff-only FETCH_HEAD
git push origin HEAD

#22724 has a separate tested refresh; whichever integrates second must preserve the logical guest-count boundary in QueryDimensions. This branch contains no #7085 extra backing. No fresh title/console or cache-executable result; the quarantined test executables were not run. The author’s draft/readiness choice remains unchanged. AI-assisted: yes (Codex; original authorship preserved).

Additional externally reported coverage: @akkadbakkad89’s RTX 3070 / driver 617.42 result tests exact refresh c1c87a1c1a16 against its main parent d5b7dccd75fc, including the new extra-chain fixture and matching ordinary mip/upload cases with validation. Thank you for following through. These are their results, separately credited; I have not inspected their raw logs. The pins are historical relative to today’s main, and the original source branch still needs its owner/authorized maintainer to adopt and refresh it.

@akkadbakkad89

Copy link
Copy Markdown
Contributor

RTX 3070 datapoint for the refresh @Amoenus published, promised further up this thread — validating c1c87a1c1a16 (the branch tip, two commits past the gist pin a1a5d0dfb6, i.e. including the GCN-geometry mip-count retention and the recording-allocator mock update) against its exact merge parent main d5b7dccd75fc.

Tested — NVIDIA GeForce RTX 3070, driver 617.42, Windows 11, Release builds of both pins in the same tree. Every GPU execution run with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (layer 1.4.363.0 ≥ VK_HEADER_VERSION 335) and VK_LOADER_DEBUG=layer; insertion confirmed per log (Insert instance layer "VK_LAYER_KHRONOS_validation" present, no was not found but was requested), zero VUID- lines in every log on both arms.

test main d5b7dccd75fc refresh c1c87a1c1a16
agc_driver_image_levels_past_chain n/a (new) passed
agc_driver_image_converted_unorm passed passed
agc_driver_image_repacked_float passed passed
agc_driver_image_resinfo_dimension passed passed
agc_driver_view_past_last_mip passed passed
agc_driver_texture_min_lod_resident passed passed
agc_driver_texture_sparse_levels passed passed
agc_driver_image_gather_lod passed passed
agc_driver_packed_mip_tail_target passed passed
agc_driver_linear_texture_pitch passed passed
agc_driver_image_texel_status passed passed
agc_driver_graphics_tests (host suite incl. TextureMipChain) passed passed

The regression set was chosen against the change surface: resinfo/lod/past-mip/sparse for the QueryDimensions/LevelsPastChain recompiler path, converted-unorm/repacked-float/linear-pitch/texel-status for the texture upload and copy machinery the capping threads through, mip-tail for the tail-level geometry.

The refresh log shows the new diagnostic working as intended: (28x1, 1 layers) names 10 mip levels, more than the 5 its extent holds: levels 5-9 are not uploaded (and the 8-level/5-7 variant for the base-7 view cases), with no other new output versus main. The host suite passes including the new TextureMipChain cases — 28x1 BC3 of 10 guest levels capped to 5, 4x1 of 11 capped to 3, full 64x64 chains unchanged, sRGB expansion no longer recreating the overlong chain.

This complements @Amoenus's RTX 5080 / AMD 1002:13c0 coverage with the Ampere generation; the branch is good to adopt from this machine's perspective. AI-assisted: yes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* build docs needs rebase Conflicts with main, rebase needed shader core/shader unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.