Skip to content

test(agc): word device-limit skips so check_skips accepts them - #23745

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
Jitheswar:test/agc-device-limit-skip-wording
Nov 27, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
Jitheswar:test/agc-device-limit-skip-wording

Conversation

@Jitheswar

@Jitheswar Jitheswar commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What

Seven AGC execution tests skip (exit 77) for a missing device feature with a message that tools/check_skips.py's DEVICE_LIMITATION pattern doesn't match. The Linux job's check_skips.py build/ctest.xml then reports an expected skip as lost coverage (error: ... skipped: ...) on any device that lacks the feature. Only the wording changes; the skip conditions are unchanged. The new messages name the missing feature the way the other device-limit skips do (the device has no, lacks, does not, reports):

Test main this PR
agc_driver_f64_fma_denormal_modes skipped f64 fma denormal mode tests, the device has no shaderFloat64 (no skipped,) f64 fma denormal mode tests skipped, the device has no shaderFloat64
agc_driver_interpolation_f16 skipped, the device has neither fragmentShaderBarycentric nor geometryShader skipped, the device has no fragmentShaderBarycentric and no geometryShader
agc_driver_rect_list_corner skipped, device has no tessellation skipped, the device has no tessellation
agc_driver_multisampled_pass_order, agc_driver_pass_break_reasons skipped, the device cannot render four-sample color and depth skipped, the device does not support four-sample color and depth targets
agc_driver_layered_volume_submit skipped, no Vulkan device with VK_EXT_shader_viewport_index_layer skipped, the device lacks VK_EXT_shader_viewport_index_layer
agc_driver_calibrated_clock skipped, the device calibrates its timestamps against no host clock the driver reads skipped, the device reports no calibrated timestamps on a host clock the driver reads

I found them by matching every skipped message under core/**/tests against check_skips.device_limitations and keeping the ones that end the test with VulkanTestSkipped for a device feature. Partial-case notes inside passing tests aren't touched. agc_driver_wide_line_register_readback has the same problem and is left to #19666.

Tested

Arch Linux, kernel 7.2.15, GCC 16.2.1, Release. Intel UHD Graphics (Raptor Lake-S, Mesa 26.2.5 ANV) and NVIDIA RTX 3050 Laptop (615.78.08), picked with ANYPS5_GPU.

  • Full ctest --output-junit on Intel at main 223cc23237 (this branch's base): python3 tools/check_skips.py reports agc_driver_f64_fma_denormal_modes (the device has no shaderFloat64) as an unexpected skip. With this branch: 1 test(s) skipped, all expected.
  • The old and new messages of the seven tests through check_skips.device_limitations(message, (DEVICE_LIMITATION,)): every old one is False and every new one True.
  • The seven tests with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 (layer 1.4.363): Intel 6 pass and f64_fma_denormal_modes skips; NVIDIA 7 pass. The loader inserts the layer in every process, no layer-not-found line, 0 VUID- lines.
  • python3 tools/check_conventions.py --base origin/main passes.
  • tools/pr_overlap.py --branch: test(agc): name the device feature wide_line_register_readback skips without #19666 (same problem in WideLineRegisterReadback.cpp, dropped from this branch). It couldn't compare feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) #9508, which conflicts with main. feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) #9508 touches MultisampledPassOrder.cpp and PassBreakReasons.cpp but not their skip lines.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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: Intel UHD Graphics (Raptor Lake-S), Mesa 26.2.5 ANV, Arch Linux; NVIDIA GeForce RTX 3050 Laptop, 615.78.08, Arch Linux
  • AI-assisted: yes (Claude)

🤖 Generated with Claude Code

Seven execution tests skipped for a missing device feature with a message
that tools/check_skips.py's device-limitation pattern does not match, so a
Linux job on such a device reported the skip as lost coverage. Name the
missing feature as "the device has no", "lacks", "does not" or
"reports", as the other device-limit skips do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the agc libSceAgc* label Nov 19, 2026
@domx4q

domx4q commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

NVIDIA Linux run with the Khronos validation layer of the current head 4556d13c95; the Tested section has Intel and an RTX 3050 Laptop on Linux, this is Ada on the desktop driver.

Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor 0x10de, device 0x2684, Ada), proprietary driver 620.70.06, Vulkan 1.4.357, Khronos validation layer 1.4.363.1. Head 4556d13c95 merged onto main 40206fe50d with --no-ff (clean, as ce8304bb7c). Main baseline is a Release build of 40206fe50d on the same machine.

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer \
ctest --test-dir build -R '^agc_driver_(f64_fma_denormal_modes|interpolation_f16|rect_list_corner|multisampled_pass_order|pass_break_reasons|layered_volume_submit|calibrated_clock)$' -V
main 40206fe50d this PR
Result 7 of 7 passed 7 of 7 passed
Insert instance layer "VK_LAYER_KHRONOS_validation" 8 8
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- none none

The pattern is the seven tests whose skip messages this PR rewords. The RTX 4090 has every feature they check (shaderFloat64, fragmentShaderBarycentric, tessellation, four-sample color and depth, VK_EXT_shader_viewport_index_layer, calibrated timestamps), so none skips on either side and the new messages are not printed here; these runs only show that the reworded tests still run and pass with the layer. Every process selected the RTX 4090 and loaded the layer.

No new VUID- errors; all seven tests pass on Ada on both sides.

AI-assisted: yes (Claude Code)

@Colewiz7

Copy link
Copy Markdown
Contributor

Head 4556d13c95 merged onto main 23786c4e4f as cc4a7fe011, no conflict. Linux 7.3.4, GCC 16.2.1 Release, Mesa 26.2.6 RADV, RX 7900 XT (gfx1100) and 7800X3D iGPU (gfx1036).

No new failures and no new validation messages on either GPU.

RX 7900 XT iGPU
tests run (6299 on the 7900 XT, the 2028 GPU ones on the iGPU), new failures vs main none none
-R '^agc' (1960 tests) with the layer, new failures vs main none none
VUID- / SYNC-HAZARD lines 0 / 0 0 / 0

Layer runs used VK_LAYER_KHRONOS_validation 1.4.363.1 with VK_LOADER_DEBUG=layer and ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1; the loader inserted the layer in every run, and the set of distinct validation messages matches main.

AI-assisted: yes

@github-actions

github-actions Bot commented Nov 20, 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 9508 core/libs/prx/libSceAgcDriver/tests/execution/MultisampledPassOrder.cpp
core/libs/prx/libSceAgcDriver/tests/execution/PassBreakReasons.cpp
PR 22692 core/libs/prx/libSceAgcDriver/tests/execution/RectListCorner.cpp

@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

The reviewed change at head 4556d13c95271ef415b4f37d2cedf8743e31fac4 updates six device limitation skip messages to match check_skips.py's accepted wording; no blocking defects were found in the reviewed files.

What I ran

Read the prepared diff and changed-file texts and inspected tools/check_skips.py at the pinned head. No tests or commands were run in this review.

Results

Check Result Note
Diff and changed code review passed Six included files reviewed
Skip-message matcher context passed New wording matches accepted alternatives
Runtime checks not run No independent test execution

Findings

Blocking

None.

Non-blocking

None.

Not verified

CalibratedClock.cpp was excluded from the prepared bundle by rule. Its change was not reviewed. Reported test results in the PR description were not independently run.

Files read: description.md, commits.md, manifest.json, diff.patch, all six included changed files (changed lines and surrounding context), and tools/check_skips.py lines 1–40. The manifest lists six reviewed changed files; the excluded file is core/libs/prx/libSceAgcDriver/tests/execution/CalibratedClock.cpp.

To get this to a good state

Nothing is required.

This was referenced Nov 21, 2026
@kiwe147

kiwe147 commented Nov 21, 2026

Copy link
Copy Markdown

Tested head 4556d13c95, applied with git apply on main fd4aeed483 together with the other 29 PRs of one batch (#24470, #24601, #17439, #17546, #21117, #21261, #21741, #21995, #22067, #22398, #23111, #23346, #23864, #24377, #24475, #24556, #14106, #14109, #19966, #20050, #20161, #20622, #21237, #22215, #22764, #22884, #22938, #24399, #24460). All applied without conflicts and the whole tree built.

Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON. GPUs: NVIDIA GeForce RTX 3080 (driver 621.24) and the AMD Radeon iGPU of the CPU (gfx1036, driver 32.0.21036.18). No validation layer. iGPU run: ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ANYPS5_GPU="AMD Radeon", agc_/video tests only.

tests RTX 3080 iGPU
agc_driver_calibrated_clock, agc_driver_f16_fma_denormal_modes, agc_driver_f64_div_scale_denormal_modes and 18 more (21 tests, matched by name to the test file this PR changes) all pass all pass

Whole batch: the full ctest -j 12 (6525 tests) on the RTX 3080 has 5 failing tests; the 4 that also fail on main fd4aeed483 are agc_driver_stencil_plane_memory, agc_driver_msaa_dcc_unwatch, agc_storage_write_back_host_retile, and pr_overlap_names, which needs a newer Python than my 3.10. Traced to other PRs of the batch, each by reverting it and testing again: #21117 (guest_pad); none is in this PR's area. The 2125 agc_/video tests on the iGPU have 1 failing: agc_driver_stencil_plane_memory (agc_driver_stencil_plane_memory also fails on main).

This is one combined tree, not a run of this PR alone.

AI-assisted: yes (Claude Code)

@oneandonlydean
oneandonlydean merged commit 07fe3bb into boykopovar:main Nov 27, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants