Skip to content

feat(agc): read sampler border colours from the border colour table - #6804

Closed
YossiYad wants to merge 18 commits into
boykopovar:mainfrom
YossiYad:feat/agc-border-color-table
Closed

YossiYad wants to merge 18 commits into
boykopovar:mainfrom
YossiYad:feat/agc-border-color-table

Conversation

@YossiYad

@YossiYad YossiYad commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What

A sampler whose S# takes its border colour from the border colour table (BORDER_COLOR_TYPE 3) and clamps to the border on any axis (clamp modes 4 to 7) throws:

AGC graphics: guest sampler descriptor uses a border color table which is not implemented

#941 stopped the throw when no axis reads the border, which got PPSA21567 past its Armadillo challenges, but the table itself was still missing (#665). This implements it, following the plan @awake-devel posted there.

  • Device. VK_EXT_custom_border_color is enabled when the device has customBorderColors and customBorderColorWithoutFormat (the S# carries no image format). Live table samplers are counted against maxCustomBorderColorSamplers; past it, or on a device without the extension, the sampler throws.
  • Decode. BORDER_COLOR_PTR (S# word 3, bits 0 to 11) names a 16-byte entry at base + ptr * 16. DecodeSamplerResource takes the entry's four dwords and returns them as VK_BORDER_COLOR_FLOAT_CUSTOM_EXT. Without an entry it throws as before, and a sampler paired with an integer image throws until an integer entry is measured.
  • Base. Draws use TA_BC_BASE_ADDR/_HI (context registers 0x20/0x21) and dispatches use TA_CS_BC_BASE_ADDR/_HI (user configuration registers 0x380/0x381), address bits 8 to 47, as Mesa's radeonsi programs them. A dispatch never falls back to the graphics pair. A sampler that reads the table with its pair never written throws, as @ThisIsAkill suggested in AGC sampler: border colour table (BORDER_COLOR_TYPE 3) not implemented #665. The draw handler reads the graphics pair from the queue and passes it to VulkanDevice::Draw, so the decoded draw state, which the pipeline journal stores, does not change.
  • Caching. The entry is read from guest memory when the draw's or dispatch's resources are built. The sampler cache keys on the entry too. A build that read an entry is never marked reusable, so the draw and dispatch resource caches never hand it to a later draw whose entry may have changed.
  • Sampler tables (SamplerTable bindings) still refuse every border mode, as before.

Title. None known. PPSA21567 writes the table (entry 0 is 0.15, 0.5, 0.05, 0.0), but its only table-type sampler clamps to the edge, so after #941 it no longer reaches this path. The tests below are synthetic.

Tested

Current validation (2026-10-25): merged main 16ff208dc3 and reconciled the draw-trace parameters with border-table propagation. AMD Radeon RX 7700 XT, RADV Mesa 26.2.4, Bazzite 44: focused native-FMASK, shader-memory and graphics tests pass on main (3/3); the same pattern plus both border-table execution tests passes on this branch (5/5). Both runs use ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, and ctest -V. Zero VUID- errors and no missing-layer warnings. No title or full-suite rerun for this update.

Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release, -DBUILD_TESTING=ON), based on main 66e71b63d:

  • Full build and ctest on Intel UHD Graphics 620 (Mesa 25.2.8 ANV): 1429 of 1431 pass. agc_driver_gated_dispatch_capture and its _short_timeout variant failed under ctest -j4 (11 s instead of 5 s) and pass 3 of 3 each when run alone. agc_driver_border_color_table and agc_driver_border_color_table_registers pass on the Intel GPU and on llvmpipe.

  • New agc_driver_border_color_table: a compute shader samples a 4x3 texture inside and one texel past each edge through a point clamp-to-border S# of type 3. Outside the texture it reads the named entry, another entry, the entry rewritten between two dispatches, and the table at a base moved by 256 bytes; a dispatch with no table base throws. It passes on both Intel UHD 620 (ANV) and llvmpipe, so it also runs on lavapipe in CI. ANV rounds the border colour to the texture's UNORM8 precision (0.5 reads back as 128/255), so border texels are compared within 1/255.

  • New agc_driver_border_color_table_registers, added after @Dextroid17 pointed out that the first test hands the base to VulkanDevice directly and never reaches the register reads. It submits through sceAgcDriverSubmitDcb:

    • a dispatch that sets TA_CS_BC_BASE_ADDR with SET_UCONFIG_REG 0x380/0x381;
    • a draw that sets TA_BC_BASE_ADDR with SET_CONTEXT_REG 0x20/0x21.

    Each samples one texel past the texture's edge through a type 3 S#, and checks the entry's colour, that the other pair naming a different table does not change it, and that a rewritten entry takes effect with the base kept from an earlier submission. A draw after a context clear throws for the missing base. It passes 3 of 3 on the Intel UHD 620 and on llvmpipe. With either handler's register read cut, it fails with the table base register was never written.

  • Negative controls:

    • With the decoder throwing for every table colour again, the new test fails with the old error.
    • With the entry left out of the sampler cache key, it fails on the rewritten entry (it reads 0.149 where 0.25 is expected).
  • agc_driver_graphics: the table-border decode tests replace the rejection test, and new tests decode both register pairs.

  • tools/check_conventions.py --base origin/main passes, and tools/pr_overlap.py reports no overlapping pull request. Windows and macOS were not built here; the draw and dispatch register reads are covered by agc_driver_border_color_table_registers.

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: none
  • GPUs tested: AMD Radeon RX 7700 XT (RADV Mesa 26.2.4), Bazzite 44; earlier runs: Intel UHD 620 (ANV Mesa 25.2.8), llvmpipe (Mesa 25.2.8), Ubuntu 24.04; NVIDIA RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3), Ubuntu 26.04 by @jotitadev
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 16, 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 1368 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
PR 1395 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 1896 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 4847 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5609 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 6192 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6235 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6280 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6340 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6412 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6481 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6553 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 6743 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6989 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6995 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7085 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 7464 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7643 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7689 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 8246 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 8592 docs/dev/debt/libSceAgcDriver.md
PR 9289 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9335 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9356 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9508 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9592 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9712 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9748 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9852 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 9895 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9897 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9915 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9950 docs/dev/debt/libSceAgcDriver.md
PR 10193 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10351 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 10359 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10442 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 10492 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 10652 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 10743 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10867 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 10894 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11436 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 11483 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11551 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11587 docs/dev/debt/libSceAgcDriver.md
PR 11825 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12568 docs/dev/debt/libSceAgcDriver.md
PR 12575 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 12792 docs/dev/debt/libSceAgcDriver.md
PR 12828 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 12840 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12855 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12904 core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12944 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 13147 docs/dev/debt/libSceAgcDriver.md
PR 13148 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 13599 docs/dev/debt/libSceAgcDriver.md
PR 13796 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 13809 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13863 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
docs/dev/debt/libSceAgcDriver.md
PR 13920 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13963 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14217 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14218 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14262 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 14473 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14561 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14871 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 14944 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14964 core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15136 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
docs/dev/debt/libSceAgcDriver.md
PR 15296 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15343 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15456 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15529 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15548 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15570 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 15621 docs/dev/debt/libSceAgcDriver.md
PR 15845 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
docs/dev/debt/libSceAgcDriver.md
PR 15936 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 16260 docs/dev/debt/libSceAgcDriver.md
PR 16427 docs/dev/debt/libSceAgcDriver.md
PR 16571 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16753 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 16796 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16831 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 16879 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 16880 docs/dev/debt/libSceAgcDriver.md
PR 16935 core/libs/prx/libSceAgcDriver/Graphics/include/GuestSamplerResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 16953 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 17022 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 17056 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 17338 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
docs/dev/debt/libSceAgcDriver.md
PR 17573 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 17611 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 17915 docs/dev/debt/libSceAgcDriver.md
PR 17943 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
docs/dev/debt/libSceAgcDriver.md
PR 17956 docs/dev/debt/libSceAgcDriver.md
PR 18029 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
docs/dev/debt/libSceAgcDriver.md
PR 18082 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18091 docs/dev/debt/libSceAgcDriver.md
PR 18139 docs/dev/debt/libSceAgcDriver.md
PR 18173 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 18177 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18185 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 18369 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 18390 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18757 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 18809 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
PR 18829 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 19054 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 19065 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19100 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19462 docs/dev/debt/libSceAgcDriver.md
PR 19557 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 19610 docs/dev/debt/libSceAgcDriver.md
PR 19620 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19697 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 19722 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 19821 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 19852 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 19904 docs/dev/debt/libSceAgcDriver.md
PR 19943 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19999 docs/dev/debt/libSceAgcDriver.md
PR 20001 docs/dev/debt/libSceAgcDriver.md
PR 20010 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20030 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
PR 20041 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 20067 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 20072 docs/dev/debt/libSceAgcDriver.md
PR 20084 docs/dev/debt/libSceAgcDriver.md
PR 20085 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 20111 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20130 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 20132 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 20153 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20156 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20162 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20172 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20185 docs/dev/debt/libSceAgcDriver.md
PR 20186 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20187 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20236 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 20248 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 20294 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 20315 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20518 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 20519 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 20548 docs/dev/debt/libSceAgcDriver.md
PR 20728 core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20730 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 20845 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20891 core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
PR 20944 core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
PR 21059 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21199 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 21211 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21225 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 21238 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 21303 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21486 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 21499 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21528 docs/dev/debt/libSceAgcDriver.md
PR 21630 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 21649 docs/dev/debt/libSceAgcDriver.md
PR 21683 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21708 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21719 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 21773 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21780 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 21948 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 21960 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22001 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22025 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22026 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22028 docs/dev/debt/libSceAgcDriver.md
PR 22029 docs/dev/debt/libSceAgcDriver.md
PR 22062 docs/dev/debt/libSceAgcDriver.md
PR 22071 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22075 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22140 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22156 docs/dev/debt/libSceAgcDriver.md
PR 22187 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22190 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22251 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22306 docs/dev/debt/libSceAgcDriver.md
PR 22328 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22411 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22424 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 22426 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22434 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22439 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22441 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22514 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 22531 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 22546 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
PR 22609 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22647 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22665 core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
PR 22687 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22690 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 22692 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22697 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22703 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 22712 docs/dev/debt/libSceAgcDriver.md
PR 22717 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 22753 core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
PR 22841 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 22995 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23058 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23206 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23242 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 23243 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23244 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23248 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
PR 23252 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23258 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23281 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23351 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23484 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23486 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 23545 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 23553 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
PR 23587 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23595 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23688 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 23722 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
PR 23726 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 23811 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 23816 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23818 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23820 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 23919 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23952 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23955 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 23982 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24032 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24049 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24083 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 24097 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestSamplerResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp
core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp
PR 24132 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 24224 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp

@jotitadev jotitadev 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.

NVIDIA run, since the description covers Intel ANV and lavapipe.

Machine: NVIDIA GeForce RTX 3070, driver 595.99.02, Vulkan 1.4.329, plus lavapipe (Mesa 26.0.3, LLVM 21.1.8) on the same machine. Ubuntu 26.04 (kernel 7.0.0-38), i7-8700, GCC 15.2, Release, BUILD_TESTING=ON. Head b376cf53b merged onto main bc400bede, clean merge.

GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02), lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04

  • agc_driver_border_color_table passes 3/3 on the RTX 3070 (0.28-0.34 s, border color table tests passed, not skipped) and 3/3 on lavapipe. So the VK_EXT_custom_border_color path with customBorderColorWithoutFormat also works on the NVIDIA proprietary driver. The test compares border texels within 1/255; I did not check whether this driver needs that tolerance.
  • agc_driver_graphics passes 3/3 on both, with the new register-pair decode tests.
  • RTX 3070, ctest -R "^agc|shader|recompiler" -E "agc_display_buffer_dcc|agc_driver_flip|agc_driver_lds_atomics64|display|flip" -j1 --timeout 60: 616 tests. Only agc_driver_store_over_untracked fails, and it fails on unchanged main bc400bede here too (#6347).

Not checked: a red run on this machine. With only the tests on main's sources, GuestSamplerResource.cpp does not compile (it needs BorderColorTableIndex), so I relied on your negative controls. Also not checked: Windows, draw-path execution, titles.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

@Dextroid17

Copy link
Copy Markdown
Contributor

Draw-path execution run. The description notes there is no draw execution test, and @jotitadev's review lists draw-path execution as not checked.

Setup: head b376cf53b as is (based on main eb901bcf4), Release, BUILD_TESTING=ON, CachyOS (kernel 7.2.9), i9-11900K, GCC 16.2.1, lavapipe (Mesa 26.2.4, LLVM 23.1.1, Vulkan 1.4.354). Each run used a clean environment and a fresh shader cache. Two probe programs, not committed, were built as execution tests and run as binaries. They submit real DCBs through sceAgcDriverSubmitDcb, so the base registers go through Driver's packet handling, not straight into VulkanDevice.

  • Draw probe: sets TA_BC_BASE_ADDR/_HI with SET_CONTEXT_REG 0x20/0x21, then DRAW_INDEX_AUTO of a full-viewport triangle. The pixel shader samples the 4x3 texture at (-0.5, -0.5) through a clamp-to-border S# of type 3 and exports the result. Each case takes the most common non-zero RGBA8 value in the 1 KiB colour buffer (128 of its 256 pixels in every passing case) and compares each byte within 1. 4 runs, 0 failures in each:
    • entry 2 at the base, then the same draw 8 more times with the entry rewritten in guest memory before each submit. Each draw had the new colour. Over those 9 draws the draw cache counted 9 lookups and 7 hits, so the cache hits also read the rewritten entry.
    • the base not re-sent: the register is kept from the previous submit
    • the base moved by 256 bytes, and the compute pair (0x380) set to a third address in the same submit, which the draw ignores
    • entry 5 at the base
  • Draw probe, type switch: 6 draws with border type 0 (transparent black, checked as no non-zero pixel), then 4 draws with type 3 with the entry rewritten before each, then type 0 again. Every draw had the expected colour, in 4 runs.
  • Draw probe, no base: on a fresh queue, a draw with only the compute pair set throws a sampler reads border color table entry 2, but the table base register was never written (2 runs). The driver keeps its first failure, so a no-base draw later in the same process only gets that error back and is not a separate result. The probe then exits 1 with the same error at shutdown.
  • Controls: a constant-colour pixel shader and a sample inside the texture (128/255) give the expected pixels in the same harness (1 run). An earlier build of the probe, with a vertex shader that put all three vertices on one point, wrote no pixels and failed this control too. The counts above are from the fixed probe only.
  • Compute probe: the same base cases through SET_UCONFIG_REG 0x380/0x381 and DISPATCH_DIRECT (entry, 8 rewrites, base not re-sent, base moved by 256, graphics pair set elsewhere, entry 5), with and without APS5_PIPELINE_DISPATCH=1, 1 run each, 0 failures in each. The type 0 to type 3 switch read the new entry with and without APS5_PIPELINE_DISPATCH=1, 1 run each, on a build with two added log lines in Dispatch.cpp. Those lines showed recipeHit=0 on type 3 rounds 1 to 3 (round 0, a new key, logs nothing), while type 0 rounds 1 to 5 and the type 0 dispatch after the switch logged recipeHit=1. With APS5_PIPELINE_DISPATCH=1 the type 3 dispatches ran inline.
  • Revert arms: with borderColorTable set to std::nullopt at Draw.cpp line 20, the draw probe fails 3 of 3 with the error above. With the same change at Dispatch.cpp line 416, the compute probe fails 3 of 3. agc_driver_border_color_table still passes in both arms (1 run each). By reading, it calls VulkanDevice::Dispatch with the table address as an argument (BorderColorTable.cpp line 128), so it does not reach either register read. The probes cover that step.
  • On the unchanged head, agc_driver_border_color_table and agc_driver_graphics pass 3 of 3 through ctest, as the baseline for the arms above.

If you want a draw execution test in this PR, I can post the probe here (284 lines, setup taken from DrawCacheReuse.cpp).

Not checked: this head merged onto current main bc3c0fc13, which is 156 commits past eb901bcf4. Also not checked: a hardware GPU (lavapipe only), the maxCustomBorderColorSamplers limit, integer-format entries, indirect draws, Windows, titles. CI's build jobs are skipped on this head.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

AI-assisted: yes

@TheSovietWaffle

Copy link
Copy Markdown
Contributor

Windows data point: head b376cf53b as-is, Release, Windows 10 Pro 22H2 (19045), WinLibs GCC 15.2.0 r7. agc_driver_border_color_table passes on both devices of this host, chosen with ANYPS5_GPU:

  • NVIDIA RTX 3080 (617.42): 5 of 5.
  • AMD Radeon Graphics (Raphael iGPU, 1002:164e, AMD Windows driver): 3 of 3.

Not checked: other tests, titles.

AI-assisted: yes (Claude Code).

@YossiYad

Copy link
Copy Markdown
Contributor Author

@jotitadev thanks for the NVIDIA run. Good to see customBorderColorWithoutFormat work on the proprietary driver as well.

@YossiYad

Copy link
Copy Markdown
Contributor Author

@Dextroid17 thanks, that is the step the test didn't reach. I'll add a draw and a dispatch execution test that set the base through SET_CONTEXT_REG and SET_UCONFIG_REG and submit through the driver, so the register reads are covered in the PR itself.

@YossiYad

Copy link
Copy Markdown
Contributor Author

@TheSovietWaffle thanks for the Windows runs on NVIDIA and AMD.

@jotitadev jotitadev 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.

Re-run on 7f8812e96 for the new register test, on NVIDIA and lavapipe.

Machine: Ubuntu 26.04, i7-8700, GCC 15.2, Release, BUILD_TESTING=ON. NVIDIA GeForce RTX 3070 (driver 595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8) on the same host. Head 7f8812e96 merged onto main 47a266cf9 (clean). ANYPS5_NO_SHADER_CACHE=1, -j1 --timeout 30.

Run RTX 3070 lavapipe
agc_driver_border_color_table_registers, agc_driver_border_color_table, agc_driver_graphics pass 3/3 pass
^agc (651 tests) 651/651 (main: 649/649) 651/651 (main: 649/649)
Draw.cpp passes no table base (borderColorTable = std::nullopt) ..._registers fails: a sampler reads border color table entry 2, but the table base register was never written; agc_driver_border_color_table passes same
Dispatch.cpp passes no table base ..._registers fails: compute shader ...: a sampler reads border color table entry 2, but the table base register was never written; agc_driver_border_color_table passes same

So the new test covers the TA_BC_BASE_ADDR and TA_CS_BC_BASE_ADDR reads on the draw and dispatch paths that @Dextroid17 pointed out. The older test does not cover them. In both broken runs the error escapes as terminate (ctest reports Subprocess aborted), not through the test's own catch in main.

Not run: Windows, AMD, Intel, any title.

GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3), Ubuntu 26.04

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 17, 2026
@YossiYad
YossiYad force-pushed the feat/agc-border-color-table branch from 7f8812e to 6aa1985 Compare October 18, 2026 06:52
@YossiYad

Copy link
Copy Markdown
Contributor Author

@jotitadev thanks for the re-run on the register test.

Rebased onto current main (head 6aa198507, main 66e71b63d). The only conflict was in VulkanDevice.cpp, where main added PresyncCounts next to PrepareDispatch; I kept it as it is on main and added the borderColorTable parameter. The other commits are unchanged.

On the rebased head, the full build passes, and agc_driver_border_color_table and agc_driver_border_color_table_registers pass on Intel UHD 620 (ANV) and llvmpipe. Full ctest on the Intel GPU: 1429 of 1431; the two agc_driver_gated_dispatch_capture tests failed under -j4 and pass 3 of 3 each when run alone.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 18, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 19, 2026
@YossiYad
YossiYad force-pushed the feat/agc-border-color-table branch from 6aa1985 to b126d39 Compare October 19, 2026 05:29
@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Oct 19, 2026
@adriadam10 adriadam10 self-assigned this Oct 19, 2026
@YossiYad
YossiYad force-pushed the feat/agc-border-color-table branch from b126d39 to 4f68fde Compare October 19, 2026 10:11
@YossiYad

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (head 4f68fde80, main 36f60df9e). The only conflict was in Graphics/include/State.hpp, where main declared NormalizeUnusedViewportDepth at the spot where this PR declares the border colour table base; I kept both. The other commits are unchanged, and the added and removed lines match the previous head line for line.

On the rebased head the full build passes, and agc_driver_border_color_table and agc_driver_border_color_table_registers pass 3 of 3 on the RX 7700 XT (RADV). Five other tests fail in the full ctest here (application_heap_lazy, agc_driver_tessellation, agc_driver_bda_device, agc_driver_image_table_vouched_lookups, agc_driver_guest_memory_lifetime), and they fail the same way on plain main on this machine.

@YossiYad

Copy link
Copy Markdown
Contributor Author

@adriadam10 this is rebased onto current main and mergeable again (head 4f68fde80), with an approval from @Dextroid17 and runs on NVIDIA, AMD, Intel and lavapipe above. Ready for review when you have a moment.

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Oct 19, 2026
@YossiYad
YossiYad force-pushed the feat/agc-border-color-table branch from 4f68fde to 78edb14 Compare October 19, 2026 13:51
@YossiYad

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (head 78edb1495e). The only conflict was in Execution/src/Driver/Draw/Draw.cpp, where main now computes QueuedDrawReadRanges and passes the reads to Queue0().Enqueue; I kept that and the borderColorTable capture on the commit lambda together. The other commits are unchanged, and the added and removed lines match the previous head line for line.

On the rebased head the full build passes, and agc_driver_border_color_table, agc_driver_border_color_table_registers and agc_driver_image_sample_border_color pass here (3/3 each, --repeat until-fail) on RADV.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 19, 2026
# Conflicts:
#	core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
#	core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
#	core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
#	core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
#	core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
#	core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
#	core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
#	core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 1, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Could you drop the new integer-table rejection assertion at core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp:566? It calls DecodeSamplerResource(words, false, false, true, &tableColor) and requires the "integer border color from the border color table" error. The production check explicitly marks that valid integer-image path as unimplemented, so the assertion would fail when it is implemented.

Please keep the positive custom-float decode cases and the missing-entry/index validation. There is no request to implement integer table colours in this PR.

@CnRJay CnRJay 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.

Correction (2026-11-01): the title-ID/log demand below is not a CONTRIBUTING requirement; Unblocks: none is allowed. The technical points below are unaffected.

1. No title reaches this on main. The body says "Title. None known" and "Unblocks: none": PPSA21567 writes the table but its only table-type sampler clamps to the edge and no longer reaches the path after #941. The tests are synthetic. With no title ID and log line this is a new device feature (VK_EXT_custom_border_color plumbing, register reads, sampler counting) that nothing running exercises, which is the kind of PR that gets closed.

2. Draws that read the table are never cached. "A build that read an entry is never marked reusable, so the draw and dispatch resource caches never hand it to a later draw whose entry may have changed." Every draw or dispatch with a table-type border sampler therefore rebuilds its resources from scratch, each time. That may be the only exact option, but the cost is unmeasured: please say how a title using this pays it (a counter for uncached builds), or key the cache on the entry bytes as the sampler cache already does so the draw cache can be reused when the entry is unchanged.

3. Custom border sampler budget. Samplers are counted against maxCustomBorderColorSamplers and the sampler "throws" past it. Does a sampler that is released (the fetch_sub paths in DecodeSamplerResource) always get released when a sampler-cache entry is evicted or when a build fails after the sampler was created? A leak here turns into a permanent throw after N draws, and I do not see a test that creates and drops more than the limit.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ NVIDIA GPU test: passed

PR head 0853681 merged onto main f2d874c · tested 2026-11-01 21:38 UTC · 25 min

GPU NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Vulkan 1.4.329
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 2,452 passed · 6 failed (0 new, 4 also fail on main, 2 unstable on main) · 46 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 2,504 of 3,168 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (938 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.4 s, ⚠️ agc_driver_graphics 36.0 s, ⚠️ agc_driver_graphics_maps_fallback 33.2 s
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_job_manager_compute_capacity: failed in 1 of the last 10 main runs
agc_driver_pipeline_journal: failed in 1 of the last 10 main runs
Failing on main too (4, not counted against this PR)
agc_driver_dcc_keys_first_write
agc_driver_image_table
guest_mmap_executable
guest_socket_options_multicast
Validated but not compared (2, not in the main baseline's validation pass)
agc_driver_border_color_table
agc_driver_border_color_table_registers
Validation IDs already present on main (5 IDs in 483 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (483 tests): agc_driver, agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, and 475 more
VUID-vkCmdCopyImage-srcImage-01548 (7 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_sampling, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-vkCmdCopyImage-srcImage-01551 (7 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_sampling, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (1 test): agc_driver_prepared_exports
VUID-VkShaderModuleCreateInfo-pCode-08737 (1 test): agc_driver_image_sample_derivatives
Skipped (46)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_sample_order_grid_reference: skipped, the device does not keep depth drawn at custom sample locations at those locations, even after a transition that names them: the composite of uniform renders holds the guest's depth in 0 of 3005 sloped samples, so no path can be compared with it bit for bit
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_pipeline_binary_vulkan: skipped, the device lacks VK_KHR_pipeline_binary
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_backtoback: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_controls: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip_in_order: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_dcc: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_deferred: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_main: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_fps_limit: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL
Reproduce
git fetch origin 0853681320bb72964e9eea75cdbb1586d734d066 f2d874c1fdccf781c0fa5d86619bb5dd8894b958
git checkout f2d874c1fdccf781c0fa5d86619bb5dd8894b958 && git merge --no-ff 0853681320bb72964e9eea75cdbb1586d734d066
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 32 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 4 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This no longer merges with current main, and a mechanical rebase is not enough:

  • Conflicts. git merge-tree against main conflicts in VulkanDevice.hpp, VulkanDevice.cpp, Dispatch.cpp, ShaderResources.hpp and ShaderResources.cpp. Replaying the commits one by one also hits Driver.hpp and Draw/Draw.cpp: main moved the draw path into DrawTail, with the new trace and shape parameters on Draw/commitDraw, so where borderColorTable is captured and passed on needs re-deciding, not just merging. The new tests go through that path, so they need rerunning after it.
  • History. The branch carries seven merge commits (372c509265, 0a4de8265b, 321bff9a5c, 9d9cd22707, 132ee009f4, 0853681320 and the earlier ones). CONTRIBUTING asks for a linear history, so please rebase onto main instead of merging it again.
  • Requested by @oneandonlydean, not done yet. Drop the integer-table rejection assertion at core/libs/prx/libSceAgcDriver/tests/GuestSamplerResource.cpp:566 (DecodeSamplerResource(words, false, false, true, &tableColor) expecting "integer border color from the border color table"). The production check marks that path as unimplemented, so the assertion would fail once it is implemented. Keep the positive custom-float cases and the missing-entry checks.

After the rebase, rerun agc_driver_border_color_table, agc_driver_border_color_table_registers and agc_driver_graphics. The rest was checked in earlier reviews and is unchanged.

@Serph91P

Serph91P commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Overlap coordination for #21586, before publishing our runtime follow-up:

Your border-colour-table implementation is a dependency, not work we intend to republish in a competing PR. Our plan is to revalidate on current main, isolate only the remaining generic runtime corrections, and sequence them after this PR or explicitly declare Depends on: #6804 where appropriate. We are not proposing to close or replace this PR or #665.

The local follow-up cases being validated include 48-bit table-entry range checks and custom-sampler budget accounting when sampler creation or resolver lookup fails. If you would prefer those focused corrections and their synthetic regressions incorporated here instead of a later follow-up, please let us know so we can agree the order and avoid overlapping implementations.

The title variant in #21586 is PPSA08330 / 05.005.000. This coordination request is not a claim of verified gameplay or of a regression on current main.

Measured update: a fresh main baseline at e4caa07950f862269fbe664e3502b15544161e1f, with fresh runtime libraries and no executable patches, stops at an image-descriptor runtime-value error after 108.6 seconds. A minimal masked-offset/addend correction has synthetic RED/GREEN coverage and seven passing focused tests. Its normal title run then reaches 277.6 seconds before exiting with AGC graphics: guest sampler descriptor uses a border color table which is not implemented. This makes your implementation a concrete bring-up dependency rather than just a potential overlap. There is still no verified gameplay or input effect; raw title data and images remain private.

@eliasbruno124-dev

Copy link
Copy Markdown
Contributor

God of War Ragnarök (PPSA08330) now reaches this throw on Windows with NVIDIA, after #23778 (the masked-offset fix from #21586) clears its earlier stop.

Setup: Windows 11 Pro 10.0.26300, Intel i5-11400H, NVIDIA GeForce RTX 3060 Laptop GPU (6 GB), NVIDIA 621.24, MSYS2 UCRT64 GCC, Release. The build is a local integration of main 9b377461ec with other open PRs and #23778's fix commit fc1fec142f.

Result: A 600 s run with a cross press every 30 s stops at 427 s:

AGC graphics: guest sampler descriptor uses a border color table which is not implemented

I tried to cherry-pick this PR's commits onto that build to test it there. The first three apply with small conflicts (new Context and device fields next to ones main added), but feat(agc): read table border colours when a draw builds its samplers conflicts with main's rewritten draw path in Execution/src/Driver/Draw/Draw.cpp, Driver.hpp, VulkanDevice.hpp/.cpp and ShaderResources.hpp/.cpp. So I couldn't run the title with it. Once it's rebased on current main, I can test it on this title.

AI-assisted: yes (Claude Code)

@mihai1859

Copy link
Copy Markdown
Contributor

I prepared and tested a conflict resolution for this PR on main 5c938d8, with the original author credited. The candidate also merged cleanly in a local simulation against main 365fded. The branch is available for adoption into this PR. Tested commit e235a08a53 · Branch

On Windows x64 with an RTX 5060 Laptop GPU (NVIDIA 610.60), I ran the same Azahar Pong sample in Vulkan mode at 1x using RetroArch's stock core and built-in loader. Main reproduced the border-color table crash reported in #665. The rebased driver rendered Pong, produced a screenshot, and exited 0.

The paired Azahar runs loaded Khronos validation layer 1.4.368 and reported no Vulkan validation errors. The focused agc_driver_graphics, agc_driver_border_color_table, and agc_driver_border_color_table_registers tests all passed with the candidate.

The resolution carries the table address through current draw and dispatch paths, including deferred execution, and drops the requested integer-table rejection assertion.

AI-assisted: yes.

@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 — looks good

Nothing blocks this change; the implementation and inspected tests support the stated border colour table behavior.

What I ran

Reviewed head 0853681320bb72964e9eea75cdbb1586d734d066. No commands or tests were run in this review; validation results in the PR description are author reported.

Results

Check Result Note
Code review passed Core decode, register, cache, and sampler paths inspected
Build and tests not run PR description reports focused tests; not run here

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full text of core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp and core/libs/prx/libSceAgcDriver/tests/Graphics.cpp was excluded from the review folder; their relevant changed regions were inspected through the pinned reader and diff. Other full changed-file texts listed as included in manifest.json were read selectively, not exhaustively. No build, tests, CI, or physical-console behavior was independently verified. The PR description's reported test results were not rerun.

To get this to a good state

Nothing is required.

@mihai1859

Copy link
Copy Markdown
Contributor

@eliasbruno124-dev, you offered to retest God of War Ragnarök on Windows/NVIDIA after the border-colour change was rebased. The companion branch can still be merged locally into main fb6ac32ba9 without conflicts. The border-colour change is e235a08a53, credited to the original author.

The earlier Windows/NVIDIA test confirmed that the float border-table change gets Azahar Vulkan Pong past the same stop. If you have time, could you try the companion branch on top of the same integration build that reproduced the failure at 427 s and report whether it gets past that point or reaches a new stop? Please include the exact revisions and first new error, if any. This would help verify the rebase in PPSA08330.

AI-assisted: yes.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

closing this one as stale: it has been waiting on a hold for over a week with no new push. if you still want it, please reopen or rebase it onto current main and it goes back in the queue.

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

Labels

agc libSceAgc* docs needs rebase Conflicts with main, rebase needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.