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
A three-word vertex or pixel shader using
DS_APPENDorDS_CONSUMEstill emitsOpAtomicIAddorOpAtomicISubagainst per-invocation LDS. Vulkan rejects those storage classes. This is a distinct recurrence after #291 and follows the same private-LDS rule: load the old value, add or subtract, then store it. Workgroup LDS and GDS keep native atomics, and the first-lane result broadcast is unchanged. Handwritten stage fixtures now require a nonempty SPIR-V module as well as validator acceptance. A debt fragment records that the console behavior outside compute workgroups remains unmeasured.Based on current
AnyKyty9ceedb540940a47ab6c4b290d4c355643cdf043d. Issue #209 stays open until the one-hour fuzz acceptance gate completes.Tested
9ceedb5409, the Linux ASan/UBSan fuzzer reproduces both invalid atomic opcodes with three-word Vertex and Pixel inputs. Compute append and consume controls validate. No game-derived shader was used.kyty_shim_recompiler_robustnessandkyty_shim_recompiler_valid_spirvpassed 2/2. Five new handwritten cases each emitted nonempty SPIR-V; the latter test validates them withKYTY_FUZZ_SPIRV=abort.kyty_shim_cross_queue_label_orderandkyty_shim_recompiler_valid_spirvpassed 2/2 on merged base and patch withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_LOADER_DEBUG=layer. Both logs showInsert instance layer "VK_LAYER_KHRONOS_validation"using layer 1.4.363, no missing-layer warning, and zeroVUID-errors. The first candidate cross-queue run timed out at 25 seconds; it passed on rerun and in the fresh base/candidate comparison.KYTY_*settings are documented. Replaying both the merged-base Linux Kyty CI log and the PR Linux Kyty CI log throughtools/kyty_pgo.py report --annotateemits exactly the same genuine advisory: 423 functions lost profile counts, 18.95% of profile weight, four of ten hottest. The resulting::warninglines match exactly.tools/check_conventions.py --base origin/AnyKyty,tools/check_kyty_settings.py,tools/debt_fold.py --check, andgit diff --checkpassed.tools/pr_overlap.py --branchfailed closed on draft feat(kyty): read V#-described buffers by mirror address behind KYTY_E2_VSHARP_MIRROR #181 because that PR conflicts with the current base; manual comparison of itsspirvEmitterMemory.cpphunks shows only buffer address/load andEmitReadConstBufferchanges, separate from this PR'sEmitAppendConsumehunk. No other open PR shares files or exports.67f961e. The one-hour fresh-corpus Linux compiler/validator fuzz is still running. No title or homebrew was run.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)