Skip to content

fix(libSceAgcDriver): pad level 0 rows of a POW2_PAD PS4 mip chain - #9842

Merged
oneandonlydean merged 6 commits into
boykopovar:mainfrom
ntamas94:up/ps4-pow2pad-level0
Nov 2, 2026
Merged

oneandonlydean merged 6 commits into
boykopovar:mainfrom
ntamas94:up/ps4-pow2pad-level0

Conversation

@ntamas94

@ntamas94 ntamas94 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What

A GCN T# with POW2_PAD set and more than one level has every level padded to power-of-two dimensions, level 0 included. Level 0's pitch already is a power of two; its rows are padded too. ComputeGcnMipLayout padded only levels 1 and up, so level 1 started after the micro-tile-aligned height of level 0 instead of its padded height.

Knowledge is Power: Decades (CUSA12435, Unity) hits it with the 68x68, seven-level, Thin_1dThin icon of its PlayLink notifications ("a player joined / left") and of the AWAY badge. The title's CPU tiler writes the chain the way its DMA copies place it: level 0 is 128x128 texels (0x10000 bytes), level 1 starts at +0x10000, level 2 at +0x14000. The driver read level 1 at +0x9000 (128 * 72 texels), which is in level 0's padding rows. The notification shows the icon downscaled, so it sampled level 1 and showed the stale texture data left there as coloured noise. shadPS4 pads every level, level 0 included, and shows the icon clean.

Level 0's rows are now padded too when the chain has more than one level. Level 0's width stays the T# pitch. A single POW2_PAD level keeps its micro-tile-aligned rows.

#9674 (tile mode 19, Thick_1dThick) adds a volume layout that pads its levels the same way; once both are in, its level 0 rows and depth need the same change, which I will make there.

Tested

Windows 11 Pro (10.0.26200), WinLibs GCC, NVIDIA GeForce RTX 2080 (driver 617.14), Release build with BUILD_TESTING=ON, on this branch (main f7e84c4cf plus this commit, merge 340e579a3):

  • A new TextureTiling case lays out the 68x68 chain (pitch 128, seven levels): level 0 is 0x10000 bytes, level 1 starts at 0x10000 and level 2 at 0x14000; a single level of the same texture stays 128 * 72 texels. agc_driver_graphics passes; with TextureTiling.cpp reverted to the base it fails (a POW2_PAD PS4 mip chain pads the rows of level 0).
  • Focused tests pass, three runs each: agc_driver_graphics, agc_driver_gcn_detile, agc_driver_ds_swizzle, agc_driver_image_volume_address_planar_texture, agc_driver_image_xor_swizzle_volume, agc_driver_packed_mip_tail_target, agc_driver_view_past_last_mip, agc_driver_resource_cache_replaced_texture, texture_format_lookup.
  • Knowledge is Power: Decades, on my bring-up branch with this change (before the refresh on main; the change itself is unchanged):
    • The title's DMA copies into the icon go to the texture base (0x10000 bytes) and base + 0x10000 (0x4000 bytes), matching the new level offsets.
    • Level 1 decoded from the new offset is the clean icon (a white circle with an exclamation mark, stored upside down); decoded from the old offset +0x9000 it is noise.
    • A phone joining the running title shows the "a player joined" notification with a clean "!" icon; before this change the same join showed it as coloured noise.
  • tools/check_conventions.py from main, --base f7e84c4cf with this title and description: no findings.
  • Paired validation-layer run of the focused tests: main (f7e84c4cf) and this branch (all nine), 100% passed on both, with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1 and VK_LOADER_DEBUG=warn,error, ctest -V, on the NVIDIA GeForce RTX 2080, driver 617.14, Windows 11 (10.0.26200): both logs carry the loader's adding layers "VK_LAYER_KHRONOS_validation" line (14 times each) and neither reports was not found but was requested by env var VK_INSTANCE_LAYERS; VUID- ids on main: 0, on this branch: 0, new on this branch: 0.

Checklist

  • Based on current main; no other open PR implements the same functions (searched open and closed boykopovar/AnyPS5 PRs for pow2, POW2_PAD, pow2pad, mip padding and TextureTiling on 2026-10-22)
  • 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 (feat(libSceAgcDriver): draw PS4 (GCN) command buffers #9431 is merged)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 2080, driver 617.14, Windows 11 (10.0.26200)
  • AI-assisted: yes

Get-fix and others added 3 commits October 22, 2026 12:19
PS4 color and depth targets, PS4 graphics EOP events, and the PS4 tile
modes (1D/2D thin and display, depth with tile split, PRT, linear
general) on the AGC executor, with a GPU detiler for every mode.
Textures sampled over the padded corner of a render target are GPU block
copies, and the PS4 SDK pattern-fill compute kernel runs as a GPU fill
when it repeats one dword, so render targets and HTILE are cleared
without a CPU drain. Two-dword patterns keep running the kernel: as
fills, Limbo's clears of its 64-bit target made its gameplay advance
about half as far per frame.
Tests cover the tiling equations against addrlib formulas, the GPU
detiler for every mode and element size, and the fill ranges.
…p test

The 4 KiB display buffer alignment check now names linear and PS4
buffers, because PS4 tiled display buffers may be 4 KiB aligned too.
video_out_flip_ps4 still looked for the old text when a PS4 buffer set
is changed to the PS5 tiled layout, so it failed although the change is
still refused.
A GCN T# with POW2_PAD and more than one level has every level padded to power-of-two dimensions, level 0 included: its pitch already is one, and its rows are too. Only the width and height of levels 1 and up were padded, so level 1 started after the micro-tile-aligned height of level 0 instead of its padded one. For the 68x68, seven-level notification icon of Knowledge is Power: Decades (CUSA12435, Unity) the title's CPU tiler puts level 1 at 128 * 128 texels, the driver read it at 128 * 72, and the downscaled icon showed the stale texture data left in level 0's padding rows.

Level 0's rows are now padded too when the chain has more than one level; its width stays the T# pitch. A single POW2_PAD level keeps its micro-tile-aligned rows. A new tiling case checks the level offsets of the 68x68 chain and the size of a single level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 22, 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 6280 core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp
core/libs/prx/libSceAgcDriver/tests/TextureTiling.cpp
PR 9432 core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp
core/libs/prx/libSceAgcDriver/tests/TextureTiling.cpp

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 22, 2026
…s4-pow2pad-level0

# Conflicts:
#	core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 22, 2026
@MarcZX10

Copy link
Copy Markdown
Contributor

The mip-layout evidence is unusually concrete: the level offsets match the title’s DMA writes, and the focused Windows GPU tests compare the old and changed expectations. One inherited build blocker needs resolution before this stacked PR can be validated: the current #9431 dependency has a reported Linux x86-64/libstdc++ compile failure because legacyVertex changes ShaderStages and CanonicalPipelineState size assertions in PipelineJournal.cpp. The checks on #9842 are only conventions/eligibility/intake/labels/report; product builds are skipped, so they do not catch it. Please coordinate the dependency fix, then rebase this branch onto the updated dependency/current main and rerun its focused validation suite. This keeps the PR open while the dependency is repaired.

@MarcZX10

Copy link
Copy Markdown
Contributor

Follow-up to my earlier dependency note: the exact #9842 head still has stale Linux journal layout guards (State == 800, ShaderStages == 112), while current main (9a030c2) has State == 824, ShaderStages == 112 and journal format 8 (this head has format 6). This head therefore still needs a current-main rebase and a Linux compile of the rebased stack; the existing green checks do not include product builds.

I also checked the legacyVertex path: it changes the selected vertex program in DrawDecode.cpp, but is not copied by CanonicalPipelineState or encoded/decoded by the journal. That may be safe if the selected shader identity already distinguishes both recipes, but please confirm that with a cache-key test or a short explanation while resolving the size/codec assertions.

@github-actions github-actions Bot added docs prx agc libSceAgc* labels Oct 23, 2026
@EagleBearerYS

Copy link
Copy Markdown
Contributor

A note on merge order. Our upcoming fix for Ghost of Tsushima Director's Cut (PPSA02225), fix/agc-3d-view-committed-slices-v2, touches lines next to this PR's in the sampled upload in Texture.cpp. It uploads only the committed slabs of a sampled 3D view whose range is only partly committed. This PR pads level 0's rows in a POW2_PAD mip chain. They don't interact beyond the neighbouring lines.

Ours will go second and adapt to this one when it merges, with this PR in its Depends on.

@ntamas94

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Thanks for checking this closely. The stale layout guards (State == 800, ShaderStages == 112, journal format 6) come from #9431, which this PR is stacked on. They will move to main's State == 824 and format 8 with #9431's rebase onto current main. This PR's own change is commit 42daed5: ComputeGcnMipLayout plus its test, 7 lines in 2 files, with nothing in the journal, State or DrawDecode.

On legacyVertex: the selected shader identity already distinguishes the two cases, so the journal does not need the flag.

  • Its only reader is the program choice in Execution/src/Driver/Draw/DrawDecode.cpp:145 (SPI_SHADER_PGM 0x48 instead of 0xc8). Nothing in pipeline creation reads it.
  • The recipe records every stage's shader.program->Identity() (Graphics/src/PipelineJournal.cpp:1069). That identity is built from the SPIR-V content hash (core/shader/recompiler/Recompiler.hpp:712).
  • So two draws that select different vertex programs get different stage identities and different recipes. Two programs that compile to the same SPIR-V share a pipeline, which is correct.
  • The flag is also a function of state that is already fixed per title: it is set only for GCN guests (GcnGuestShaders()) on the plain-VS path (Graphics/src/State.cpp:1112-1120).

If you'd still like it pinned by a test, the natural place is #9431, where the field lives.

#9431's head (26d651d) has not moved since yesterday. Once it is rebased onto current main, I'll merge that updated base into this branch right away (no force-push). Then I'll rerun the focused suite on the merged head and post the results here: TextureTiling and the GCN mip-layout GPU tests, plus a paired validation-layer run. If the rebuilt stack shows that 42daed5 itself breaks a Linux build or the journal assertions, I'll fix it in this PR.

🤖 Generated with Claude Code

@ntamas94

Copy link
Copy Markdown
Contributor Author

@EagleBearerYS Thanks for the heads-up, and for taking the second slot. The two changes don't affect each other.

  • This PR's own change is the GCN mip layout in TextureTiling.cpp (ComputeGcnMipLayout): level 0's rows are padded in a POW2_PAD chain with more than one level. It runs only for PS4/GCN texture descriptors.
  • The neighbouring Texture.cpp lines in this PR's diff come from feat(libSceAgcDriver): draw PS4 (GCN) command buffers #9431, which this PR is stacked on.
  • Your committed-slab upload for partly committed 3D views is on the PS5 path, which never calls the GCN layout.

Once #9431 is brought up to current main, this PR moves onto that fresh base right away. Your Depends on will then point at the updated head.

🤖 Generated with Claude Code

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@ntamas94 this branch no longer builds once merged with current main. Main's PipelineJournal.cpp now has size guards on the journaled state: static_assert(sizeof(State) == 824) and static_assert(sizeof(ShaderStages) == 112) at lines 38-39. With this PR they become 832 and 116, because of the new ShaderStages::legacyVertex and DrawKeyRegisters going from 50 to 52.

The guard asks for more than new numbers: legacyVertex has to be serialized, or a journal replay drops it. Could you merge current main and then:

  • add legacyVertex (and the two extra draw-key registers) to CanonicalPipelineState and the recipe codec in Graphics/src/PipelineJournal.cpp;
  • update the two static_assert sizes;
  • bump the journal FileFormat (main is at 9)?

We'll re-run CI on the new head.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@ntamas94 This PR now conflicts with main in core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp. Main removed the layered-depth pitch restriction that this PR changes. Could you decide how the PS4 mip-layout checks should apply to the current layered-depth storage path?

…s4-pow2pad-level0

boykopovar#9431 is merged into main in its final form. The branch carried that PR's
earlier head (9437229, 26d651d); those files now follow main, which
also removes the extra ShaderStages and draw-key fields the journal size
guards flagged. Only this PR's own change (POW2_PAD level 0 rows) is on top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s4-pow2pad-level0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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

Review — changes requested

The title/texture report and the old-base GPU results are useful, but the integration point this PR was stacked on has moved: dependency #9431 merged into current main at eefa50841267. Head efeba42f30665ae59c29ab1eeae36f0a5ff77e95 does not contain that merge and conflicts with current main in State.hpp, DepthSurface.cpp, State.cpp, TextureTiling.cpp, and TextureTiling.cpp's test.

The latest main change to DepthSurface.cpp removed the layered-depth pitch restriction that this PR modifies. The resulting combined PS4 mip-layout path and its tests need a deliberate resolution; preserving the old patch mechanically could restore a restriction that main removed. The PR’s reported runs are on the older #9431 stack (26d651d3e), so they do not validate the post-merge integration.

Please merge the current #9431 result/current main, retain the intended POW2_PAD level-0 row layout without reintroducing the removed layered-depth restriction, reconcile the overlapping layout tests, and rerun the focused GPU/tiling tests with validation on the resulting head. I checked the current merge preview and git diff --check; the preview has those five conflicts and the whitespace check passes. I did not run the GPU tests locally.

@ntamas94

Copy link
Copy Markdown
Contributor Author

@oneandonlydean thanks, both points are addressed by merging current main (f7e84c4cf, merge 340e579a3).

  1. The extra ShaderStages and draw-key fields did not come from this PR. The branch still carried an earlier head of feat(libSceAgcDriver): draw PS4 (GCN) command buffers #9431 (9437229e2, 26d651d3e), which this PR was stacked on. Now that feat(libSceAgcDriver): draw PS4 (GCN) command buffers #9431 is in main, those files follow main: State.hpp, State.cpp and PipelineJournal.cpp are main's own, so the size guards hold without a journal change and FileFormat stays at 9. The diff against main is again only this PR's two files, TextureTiling.cpp and its test.

  2. The DepthSurface.cpp pitch line also came from feat(libSceAgcDriver): draw PS4 (GCN) command buffers #9431's earlier head, not from this PR. DepthSurface.cpp now matches main, so the layered-depth storage path keeps main's behaviour. This PR only changes the row padding of level 0 in ComputeGcnMipLayout, which applies to POW2_PAD chains of more than one level; it adds no check to the layered-depth path.

On the new head: the focused tests pass three times, the paired validation-layer run against main reports no VUID- ids on either side, and tools/check_conventions.py reports no findings. The description is updated to match.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 29, 2026

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

Re-checked — changes requested

The update explains that the extra depth fields and DepthSurface.cpp pitch line came from the old #9431 stack, not this PR, and reports three focused runs plus a paired validation-layer comparison. The branch remains based on f7e84c4cf1; current main is ba5b5330b3. Please update the branch to current main and provide a clean merge preview plus conventions on the resulting tree before merge. The current-main diff does not touch the PR's two implementation/test files, so the reported focused runs remain relevant if the refreshed diff confirms they are unchanged.

@TechLevelZero

TechLevelZero commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

✅ NVIDIA GPU test: passed

PR head 340e579 merged onto main 828ac0b · tested 2026-10-31 12:25 UTC · 21 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,320 passed · 5 failed (0 new, 2 also fail on main, 3 unstable on main) · 41 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,366 of 3,048 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 (866 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_bda_device 56.7 s, ⚠️ agc_driver_graphics 33.3 s, ⚠️ agc_driver_graphics_maps_fallback 31.3 s
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_submit_progress: failed in 6 of the last 10 main runs
agc_submit_progress: failed in 6 of the last 10 main runs
agc_submit_progress_no_timeline: failed in 8 of the last 10 main runs
Failing on main too (2, not counted against this PR)
guest_mmap_executable
guest_socket_options_multicast
Validation IDs already present on main (3 IDs in 384 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (384 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_passes, agc_driver_address_passes_draw_transitions, agc_driver_address_passes_targets_split, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, and 376 more
VUID-vkCmdCopyImage-srcImage-01548 (12 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_sampling, and 4 more
VUID-vkCmdCopyImage-srcImage-01551 (12 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_sampling, and 4 more
Skipped (41)
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_msaa_dcc_compared_import_2: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
agc_driver_msaa_dcc_compared_import_4: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
agc_driver_msaa_dcc_compared_import_8: skipped, the device reports host imports that keep write protection, so the write-watch probe compares none of them
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_driver_stencil_ref_export: skipped, the device lacks VK_EXT_shader_stencil_export
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
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_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_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_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_fresh: 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_labels: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is eithe
Reproduce
git fetch origin 340e579a3059b115441d363f402813dfd1a3cbca 828ac0b2ae74aac181ba128fb59b08a1534f2041
git checkout 828ac0b2ae74aac181ba128fb59b08a1534f2041 && git merge --no-ff 340e579a3059b115441d363f402813dfd1a3cbca
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.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants