feat(agc): remap a viewport depth range the device cannot express into the vertex shader #4650
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4650"
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 Mouad-Scriptz-0 on 2026-10-12T17:51:43Z.
What
Intel's ANV has no
VK_EXT_depth_range_unrestricted, so a viewport depth range outside [0, 1] threw "viewport depth [-1, 1] out of range". Minecraft (PPSA17221) draws its whole world that way:PA_CL_VPORT_ZSCALE1 andZOFFSET0 in negative-one-to-one clip space, so the console's depth is the raw z/w in [-1, 1], clamped byPA_SC_VPORT_ZMIN/ZMAXto [0, 1] on write. Clamping the viewport to [0, 1] instead maps the range linearly and writes every depth value wrong.The remap folds the transform into the vertex shader on such a device, generic for any scale and offset:
Graphics::ApplyDepthRemap(afterDecodeState, with the device context) leaves a range inside [0, 1] or an unrestricted device alone. Otherwise it records the viewport's scale, offset and clip-space mode inState::depthRemap, gives the Vulkan viewport the console's clamp bounds, turns depth clamping on (the console'sZMIN/ZMAXclamp) and clip control off. It requires the vertex path and a device with depth clamping; mesh and tessellation draws with such a range still throw.RemapPositionDepth, emitted whenSpirvTarget::depthRangeRemap) computes z' = scale·z + offset·w, so z'/w is the console's depth before its clamp, and writes two extragl_ClipDistanceelements, w + z (or z in zero-to-one clip space) and w − z, restoring the near and far planes depth clamping removes. Mode, scale and offset are specialization constants (PipelineSpecialization::DepthRemapBase), filled from the draw'sShaderVertexStageInfoin both the per-draw and the registration-module path; mode 0 folds to the untouched position, so shaders of in-range draws are unchanged.VulkanDevicesets the target flag from the missing extension.agc_depth_range_remap(new) checks the emitted module declares the three specialization constants with the draw's values, two clip distances and the scale, and that an unrestricted target declares none;agc_driver_graphicsgainsDepthRemapTestsforApplyDepthRemap: the [-1, 1] case, an unrestricted device, a device without depth clamping, an in-range transform and a zero-to-one transform with narrower clamp bounds.Tested
Fedora 44 (kernel 7.2.8, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON, Intel Arc Meteor Lake, Mesa 26.2.3, noVK_EXT_depth_range_unrestricted), worktree onmainffa198407:agc_depth_range_remap,agc_driver_graphics,agc_position_invariance,agc_shader_disk_cachepass;tools/check_conventions.py --base origin/mainandgit diff --checkpass. Minecraft (PPSA17221): the title's world draws havePA_SC_VPORT_ZMIN/ZMAXat [-1, 1] on a float depth target, so the remap clips the clamp to [0, 1] and reports it once; worlds render with the remap, with water and fog at their expected depths. Without the remap the same draws threw. Not tested on Windows or on a device with the extension (where the remap stays off).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T07:39:53Z.
Needs a rebase: it conflicts with main in
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp,PipelineSpecialization.hppandRecompiler.hpp, anddocs/dev/TechnicalDebt.mdhas moved todocs/dev/debt/<library>.md. Take the next free request version when you do.Imported from boykopovar/AnyPS5. Originally posted by johnmaia on 2026-10-13T13:24:26Z.
Windows run, since the description says Windows is untested. Setup: Windows 11 (26300), WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, head 13b626a75 merged intomain1e7f4967e,ctest -j4 --timeout 300. Two GPUs: an RTX 4080 (NVIDIA 617.42, hasVK_EXT_depth_range_unrestricted) and an Intel UHD 770 (driver 101.6129, does not).agc_depth_range_remap,agc_driver_graphics,agc_position_invarianceandagc_shader_disk_cachepass on both GPUs.The full suite passes 1072 of 1073 on both. The failure is
agc_shader_memory:It passes on
main1e7f4967eon the same machine. This PR raises the request version to 23, buttests/ShaderMemory.cpp(line 1829 onmain) still expects the version 21 prefixNVNQQRUAAAA=. With version 23 the prefix isNVNQQRcAAAA=. The description also still says "the request serializer (version 18)".Not tested: a title.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-13T18:54:58Z.
Rebase handoff + one open serializer integration — rebased onto current
main, authorship unchanged. Two findings from the rebase:1. Spec-constant IDs — no collision, both kept. Main added
LayerExported = 8234where this PR addsDepthRemapBase = 8240/DepthRemapWords = 3; the ranges don't overlap (next main block isHeapCountBase = 8256), so both blocks are kept as-is.2. Serialization version collision — found and half-fixed. This PR version-gates its fields (
depthRemapMode/Scale/Offset,depthRangeRemap) at version 23, but main has since taken 23 forlayerExported(and2ae227ef8built the version-21 position-export integration on top). I bumped this PR's fields to version 24 in the handoff (writer version, ceiling check, and all three read gates) — that part is mechanical and correct.The remaining failure needs your integration decision:
agc_shader_memoryfails on main's new version-20 replay test from2ae227ef8("a version 20 vertex info misread the fields after its position export layout"). That test byte-patches the current-version stream down to version 20 and requires a byte-exact re-serialization round-trip; this PR's unconditionaldepthRemapwrites inside the vertex-info block break that expectation. The fields need weaving into the layout that test assumes (the same class of integration AlxcBTW did for #4031's version-18 bump) — I didn't guess at the intended layout.Verified: builds, conventions pass, full suite 1070/1072 (the two failures: the known
maintessellation segfault #4727, and the serializer test above).To pick it up:
Head is
c9aa256fb.Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-13T21:54:15Z.
Title results for this PR on an Intel GPU without
VK_EXT_depth_range_unrestricted. Setup: Intel Arrow Lake-S iGPU (8086:7d67) passed through to a Debian 13 VM, Mesa 26.1.6 (ANV), Xorg on the iGPU,ANYPS5_GPU=Intel, Release. Catalog homebrew titles, relinked with--to-intel, run for 40 s each.main0aa4cb1c2(with three unrelated library fixes), 22 of the 60 catalog titles stop at start-up with:14036cb0e), none of the 22 stop on it.storing storage image results pending over memory outside the write watch ....getservbyname, merged onmainsince this branch's base.GitHub reports this branch as conflicting with current
main, so I tested it on its own base rather than merged.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T22:21:10Z.
#4842 took request version 23 for
layerExportedafter your rebase, so this needs another rebase with the depth-remap fields on version 24 (RequestSerializer.cpp:759,:792,:817), keeping the version-20 replay check inagc_shader_memorypassing.The viewport scale and offset are per-draw values in the shader cache key (
CacheKey.hpp:196-198), so every depth transform gets its own module. Viewport values stay out of the key here; please keep only the mode in it and read scale and offset at run time.DrawRegisterKey.cpp:61repeats the check on line 60.Imported from boykopovar/AnyPS5. Originally posted by nikowolf123 on 2026-10-14T17:33:33Z.
@Mouad-Scriptz-0 I worked through @oneandonlydean's review on
nikowolf123/AnyPS5help/S6-depth-range: the request version and the repeated check are done, the cache key is half done (the run-time read is only proposed, see below), and there is one more fix. The branch is rebased onmaine34c47921, which includes #757 and #758, and still merges cleanly with today's110cc139f. Your commit comes first and you are still its author, followed by two commits of mine. You can take the whole branch, cherry-pick parts of it, or ignore it. The PR allows maintainer edits, so a maintainer can also push it:What changed against 60b467cb4:
mainis on 25 (dithered coverage), and #4706 has held 26 since today's rebase, so the remap fields take 27. #5884 and my #5200 also write 26 at their current heads, so each of these that lands after another one moves to the next free number.writeVertexInfois unchanged. Mode, scale, offset anddepthRangeRemapare written at the end of the request, afterfloat16DenormPreserve, the same way #4706 appends its fallbacks. Because of that, the version-20 replay check inagc_shader_memorythat @blawesom ran into passes unchanged.ShaderMemory.cppandRequestSerializerTests.cppmove to 27, and their replays add or drop the new trailing bytes.depthRemapModestays inCacheKey.hpp. Scale and offset are still specialization constants thatmaterializeResulttakes from each request. A new depth transform no longer recompiles the shader, but it still gets its own specialized module and pipeline.snapshotHash. Left at that, a second draw with another transform and the same resources would get the module specialized for the first.snapshotHashnow mixes scale and offset, as it already does for the pixel export packing.agc_depth_range_remapmaterializes one prepared vertex shader with two transforms, and it fails without those two lines.DrawCapture.cpp:23andShaderRegistry.cpp:1056. That changes the push layout, so it is for you and the maintainers to decide.DrawRegisterKey.cpp: the repeated check is gone.ApplyDepthRemapgives the viewport the clamp bounds, and the shader sets z/w toscale·z/w + offset. A zero-to-one viewport maps z/w linearly onto[minDepth, maxDepth]. With ZMIN/ZMAX = [0.25, 0.75], depths of 0.3 and 0.7 are therefore stored as 0.4 and 0.6, while the unrestricted path stores 0.3 and 0.7.DepthRemapTestsnow expects scale 4 and offset -1.5.agc_driver_depth_range_remap_draw:depthRangeRemapon the target and callsApplyDepthRemapwith a context copy that has noVK_EXT_depth_range_unrestricted. It then draws at known clip z and checks the stored depth with probe draws. On a device with the extension, it also runs the cases on the unrestricted path.State.cppfrom the second commit, it fails with:depth 0.3 inside clamp bounds [0.25, 0.75], probed at 0.35 (remapped path): the draw covered 2048 of 2048 pixels (expected all) and the probe passed 2048 (expected none).Tested:
ANYPS5_REQUIRE_VULKAN=1: the fullctestpasses on the branch head, 1176 tests with 0 failed and 51 skipped. Lavapipe has the extension, so the draw test ran 13 cases on the remap path and 11 on the unrestricted path.tools/check_test_registration.pypasses.ANYPS5_REQUIRE_VULKAN=1:request_serializer,agc_shader_memory,agc_driver_graphics,agc_depth_range_remapandagc_driver_depth_range_remap_drawpass on the branch head. The draw test ran the same 24 cases there.State.cppfrom the second commit the draw test fails with the message above, and withRecompiler.cppfrom your commitagc_depth_range_remapfails. Both pass with the branch's files.main'stools/check_conventions.py --base origin/mainandgit diff --checkpass for the branch.@johnmaia @milescoviello could you rerun the branch head on your Intel GPUs (UHD 770, and the Arrow Lake iGPU on ANV)? Without the extension,
agc_driver_depth_range_remap_drawruns only the remap path, so those would be its first runs on hardware that needs it. Useful checks:ctest -R "depth_range_remap|agc_shader_memory|agc_driver_graphics".AI-assisted: written with Claude Code; I checked the rebase against 60b467cb4 with
git range-diff, the review points and the #4706 version against the linked comments and code, and the result memo key inRecompiler.cpp. I ran the builds and tests listed above, the lavapipe and RTX 5080 runs of the draw test withState.cppfrom the second commit, theagc_depth_range_remaprun without thesnapshotHashlines, andcheck_conventions.py.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T18:12:57Z.
@nikowolf123 thanks, the version, the repeated check and the clamp-bounds fix look right. Scale and offset are still specialization constants, so each depth transform still gets its own module and pipeline. Please read them at run time; the 24 bytes at offset 104 of the vertex push slot that you proposed work for that, with the vertex push room ending at 104 for remapped draws as it does for mesh draws.
@Mouad-Scriptz-0 is it fine with you if that branch replaces yours here once it is done?
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:06:51Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppL343core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppL343docs/dev/debt/libSceAgcDriver.mdL189core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppL26-27core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppL1334core/libs/prx/libSceAgcDriver/Graphics/include/State.hppL152core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppL38-39, L47, L218, L276, L1039core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppL544, L616core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4734, L4852, L5063, L7195core/shader/recompiler/tests/RequestSerializerTests.cppL210, L213-214, L249, L252-253, L274, L397-402, L411, L415-416, L430, L432core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppL248core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppL216core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppL38, L47, L218, L276, L1039core/shader/recompiler/CacheKey.hppL215core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL797, L822, L831, L867core/shader/recompiler/Recompiler.hppL213core/shader/recompiler/Translation/src/ShaderInputInfoBuilder.cppL176core/shader/recompiler/tests/RequestSerializerTests.cppL210, L214, L249, L253, L274, L277, L398, L401, L411, L416, L430, L432core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4734, L4852, L5063, L7195core/shader/recompiler/tests/RequestSerializerTests.cppL210, L213-214, L249, L252-253, L274, L397-402, L411, L415-416, L430, L432core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4734, L4852, L5001-5002, L5009-5010, L5015-5016, L5021-5022, L5027-5028, L5033-5034core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppL248core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppL216core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppL38, L47, L218, L276, L1039core/shader/recompiler/CacheKey.hppL215core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL797, L822, L831, L867core/shader/recompiler/Recompiler.hppL213core/shader/recompiler/Translation/src/ShaderInputInfoBuilder.cppL176core/shader/recompiler/tests/RequestSerializerTests.cppL210, L214, L249, L253, L274, L277, L398, L401, L411, L416, L430, L432core/libs/prx/libSceAgcDriver/Graphics/include/State.hppL152core/libs/prx/libSceAgcDriver/Graphics/src/State.cppL1063core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppL38, L47core/shader/recompiler/PipelineSpecialization.hppL32core/shader/recompiler/Recompiler.cppL966docs/dev/debt/libSceAgcDriver.mdL189docs/dev/debt/libSceAgcDriver.mdL188-189docs/dev/debt/libSceAgcDriver.mdL188-189docs/dev/debt/libSceAgcDriver.mdL188-189docs/dev/debt/libSceAgcDriver.mdL189core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppL10core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4734, L4852, L5001, L5009, L5015, L5021, L5027, L5033core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL797, L822, L831, L867core/shader/recompiler/tests/RequestSerializerTests.cppL210, L214, L249, L253, L274, L277, L398, L401, L411, L416, L430, L432docs/dev/debt/libSceAgcDriver.mdL189core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL797, L822, L831, L867core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppL343core/shader/recompiler/PipelineSpecialization.hppL32core/shader/recompiler/Recompiler.cppL1025core/shader/recompiler/Recompiler.hppL288Some 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.
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/shader/recompiler/Recompiler.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/PipelineSpecialization.hppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/PipelineSpecialization.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/shader/recompiler/Recompiler.hppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Optimization/include/Optimization/ShaderStageInputInfo.hppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/shader/recompiler/Translation/src/ShaderInputInfoBuilder.cppcore/shader/recompiler/tests/RequestSerializerTests.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/PipelineSpecialization.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Optimization/include/Optimization/ShaderStageInputInfo.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/shader/recompiler/Translation/src/ShaderInputInfoBuilder.cppcore/shader/recompiler/tests/RequestSerializerTests.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/libSceAgcDriver.mdcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/PipelineSpecialization.hppcore/shader/recompiler/ShaderDiskCache.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/debt/libSceAgcDriver.mdcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/shader/recompiler/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hppcore/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/PipelineSpecialization.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/ShaderDiskCache.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/ShaderDiskCache.cppImported from boykopovar/AnyPS5. Originally posted by Mouad-Scriptz-0 on 2026-10-15T20:55:41Z.
Fine with me, @oneandonlydean: take @nikowolf123's branch here once the run-time read is in. @nikowolf123, thanks for carrying it; keeping my commit first is more than enough. One observation for whoever finishes it: my rebased head (60b467cb4 on main
14036cb0e) hangs Minecraft (PPSA17221) at start-up on Meteor Lake, before the first present, while main plus my other branches run it. The title's main thread waits on aBackgroundWorkermutex whose owner sits insceKernelWaitEqueue, and the driver and presenter are idle, so it looks like a shader-registration or request-serialization difference rather than the remap itself; the pre-rebase branch (4d1101cd5 on33ae282e4) ran that title. I couldn't isolate it before running out of time; if the rewrite moves scale and offset out of the request, it may go away on its own, but worth a start-up check on that title.Imported from boykopovar/AnyPS5. Originally posted by DavidSamir on 2026-10-16T09:19:04Z.
Four catalog titles that need this on macOS. Apple M2, MoltenVK 1.4.2 (no
VK_EXT_depth_range_unrestricted), macOS 26.7.1, x86-64 under Rosetta.The titles are ProsperoLichess (PPSA99009, 01.000.000), SymphonyStation5 (PPSA17641, v0.1.0), ProsperoRadio (PPSA99001, 01.000.010) and ProsperoTV (PPSA99003, 01.000.070), each with its catalog sha256 checked. The tree is
maince991f1ecplus the macOS runtime work, #6535 and #6741.Each title stops 5 to 21 s in with:
A temporary log line after
NormalizeUnusedViewportDepthshowed the same draw in all four: a triangle fan with viewport depth −1..1 and a depth target bound. It has depth test and depth write on, compareALWAYSand the stencil test on, and no depth clamp. That looks like a depth and stencil clear drawn as a triangle fan. Since it writes depth, #6535 rightly leaves it, and clamping the range to [0, 1] would write different values, so this is the remap case.I couldn't test this PR yet: against
maince991f1ecit conflicts inDriver.hpp,Draw.cppandDrawDecode.cpp. Once it's rebased, I'll run these four titles with it and post the results here.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by DavidSamir on 2026-10-16T12:52:36Z.
Five more catalog titles that stop here on macOS, from a run of 50 more titles. The setup is the same as in my comment above: Apple M2, MoltenVK 1.4.2, macOS 26.7.1, x86-64 under Rosetta, catalog sha256 checked, with the libraries of a local tree of
maince991f1ecplus the macOS runtime work, #6535, #6741 and #6767.--module-dir Media/Modules --module-dir Media/Plugins)Each one stops with:
That makes nine catalog titles on macOS whose first stop is this check. I haven't built @nikowolf123's
help/S6-depth-rangehere, since it doesn't merge with currentmainyet. Once the run-time read is in, I can run these nine on it.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-16T23:54:22Z.
@nikowolf123 are you still on the run-time read for this? If you'd rather hand it over, I can finish it on top of your branch, keeping your and Mouad's commits.
Imported from boykopovar/AnyPS5. Originally posted by Mouad-Scriptz-0 on 2026-10-18T01:01:56Z.
@oneandonlydean
Please take it, I’m having internet problems and can’t really develop anything right now. Thanks for offering.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-18T18:55:01Z.
@nikowolf123 sorry, I missed this request on 10-14. I'll run your
help/S6-depth-rangehead on the Intel Arrow Lake iGPU (Mesa ANV), withdepth_range_remap|agc_shader_memory|agc_driver_graphics, plus some of the homebrew titles from my earlier run, and post the results here. If the branch has moved since, tell me which head to use.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-18T19:26:50Z.
@nikowolf123 results for your
help/S6-depth-rangehead 64fb88a578, built on its own base. Intel Arrow Lake iGPU, Mesa 26.1.6 ANV, Debian 13 VM, noVK_EXT_depth_range_unrestricted:agc_depth_range_remap,agc_driver_depth_range_remap_draw("13 cases, unrestricted path absent"),agc_driver_graphicsandagc_shader_memoryall pass.getservbynamein my earlier run, now runs to the limit.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T21:46:43Z.
New issue #4762 adds a direct Windows Intel Iris Xe reproduction of the same
ValidateViewportfailure withdepthRangeUnrestricted=0. This gives the existing remap PR a concrete Windows title case in addition to the ANV runs reported here; I did not find a separate implementation gap to split out.