Repository navigation
Shaders: fewer allocations in the GFX10 decoder, dense opcode index tables - #273
Open
fffluffy-dev wants to merge 1 commit into
Open
fffluffy-dev wants to merge 1 commit into
fffluffy-dev wants to merge 1 commit into
Conversation
…ables Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adapts Marvisak/VIctory#1623 to this fork's wave64 rewrite (instruction words without a per-instruction Vec; a five-word MIMG and truncated input are checked), and adds dense index tables for instruction names without growing
Instruction(32 bytes) or changing the API. Synthetic: 12,289 instructions 18,433 → 2,048 allocator calls; IR build 5.4-10.6 % faster at 257-16,385 instructions; DXIL byte-identical on four sizes of a synthetic compute shader.Validation:
cargo test -p victory-shader(Linux) 172 passed, 2 ignored; under Wine the same 22 GPU tests fail without an SM 6.6 device as on main; clippy--workspace -D warningsclean both ways; policy ok.AI use: written with Codex and Claude Code (Claude Opus 5.5); reviewed and posted with my approval. No game files were used.