Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a synthetic Kyty shim regression for #325. A compute shader writes a sentinel beside the indirect argument dimensions. The test checks CPU-written dimensions, a zero dimension, and dimensions produced by another GPU dispatch; an atomic output counter makes the executed workgroup counts observable. It also checks that the CPU write and indirect dispatch do not read back the neighboring GPU-written word.
The base renderer already handles these cases, so this PR adds the regression without changing dispatch behavior. It targets AnyKyty at 688dbf1.
Tested
cmake --build build --target kyty_shim_indirect_dispatch_dimensions_tests --parallel 6.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 '^kyty_shim_indirect_dispatch_dimensions$' -V --timeout 300: passed. Direct count 1; CPU-written dimensions total 7; zero dimensions remain 7; GPU-written dimensions total 19. Readback count stayed 1 -> 1 across the CPU write and indirect dispatch. Vulkan loader inserted validation layer 1.4.350; no missing-layer warning orVUID-errors.python3 tools/check_kyty_settings.py: passed.python3 tools/check_conventions.py --base origin/AnyKyty: passed.python3 tools/pr_overlap.py --repo simnJS/AnyPS5 --base AnyKyty --branch fix/kyty-indirect-dispatch-dimensions --jobs 2: no overlap.python3 -I tools/tests/test_kyty_pgo.py(7/7),python3 -I tools/tests/test_relinker_fuzz_fixture_warnings.py(9/9),python3 -I tools/tests/test_check_kyty_settings.py(19/19). Checked the exact-base Linux Kyty CI log withtools/kyty_pgo.py report --annotate(exit 0; advisory: 423 functions, 18.95% profile weight, 4 of 10 hottest).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)