Repository navigation
README: document xcl shaders --direct --seed and --validate - #2699
Draft
romeawayfromhome-rgb wants to merge 3 commits into
Draft
romeawayfromhome-rgb wants to merge 3 commits into
romeawayfromhome-rgb wants to merge 3 commits into
Conversation
luckyteagirl
left a comment
Contributor
There was a problem hiding this comment.
Could the new example add --threads 1 to make the selected programs reproducible? The seed fixes the record order, but workers claim records in parallel and share a per-program limit. With a limit of two, let the first seeded record contain programs A and B and the next record contain C. One schedule admits A and B before the second worker runs. Another admits A, then C, leaving B out. Both use the same seed.
Either add --threads 1 or say that the seed fixes record order. This is an exact-head source review of acfd8d5b39e07364e4d21694119789bf0ed13bdc. No shader-pack run. AI-assisted review with Codex.
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.
Stacked on #2657; only the top commit belongs here. The README examples added by the stacked direct-sweep PRs cover
--sample,--hash,--dump, and--compare, but not--seedor--validate, although the built-in help lists both. This adds one example for a reproducible seeded sample with DXIL validation.What is in it
xcl shaders --direct --seed 7 --validate, after the stacked--hash/--dumpline.Tested
crates/xcl/src/main.rsHELP andcrates/xcl/src/shaders.rsat b49be18:--seeddefaults to 1 and selects the deterministic sample;--validatedefaults to false and runs the DXIL validator on translated output.--seedor--validate.Regression run
Not tested
AI use