Repository navigation
Upstream PR batch 1 U4: SPIR-V post-pass and IR/control-flow compile-time CPU - #482
Merged
Merged
Conversation
Ported from upstream PR boykopovar#4035 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream PR boykopovar#4772 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream PR boykopovar#4827 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream PR boykopovar#5064 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ation Ported from upstream PR boykopovar#5315 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream PR boykopovar#4288 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…und shared merge splitting growth Includes the stacked upstream commit that structurizes refused control flow with reach flags, which this change builds on. Ported from upstream PR boykopovar#5028 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… variant Ported from upstream PR boykopovar#5455 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Patches the bundled SPIRV-Tools redundancy elimination (only built with ANYPS5_ENABLE_SPIRV_TOOLS=ON). Ported from upstream PR boykopovar#5511 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wo BDA descriptors
Specialization removes descriptor variables the final module no longer
references. With helper functions now discarded after specialization, a
compute module can drop its page-table variable while keeping the fault
buffer, and the bridge then rejected the dispatch ("BDA ABI requires
page-table and fault-buffer descriptor metadata"). Require at least one of
the two roles instead of both; the module's own descriptors are still
checked against the prepared plan.
Not a port; needed by the port of upstream PR boykopovar#5064.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
9 tasks done
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.
Upstream PR batch 1, unit U4: SPIR-V post-pass and IR/control-flow compile-time CPU. One commit per upstream PR, each with "Ported from upstream PR #N" in the body.
Ported
shader_ir_use_rewrite_tests)APS5_SPIRV_OPT=noneduring specializationFormattedBufferOnce, as upstream does)docs/dev/debt/libSceAgcDriver.md(upstream'sdebt/shader.mddoes not exist here).image_bvh_intersect_rayas one shared function per variantANYPS5_ENABLE_SPIRV_TOOLS=ON, default OFF); the debt line moved fromTechnicalDebt.mdtodebt/libSceAgcDriver.mdSkipped
None.
Added, not a port
fix(metal): accept a specialized BDA module that dropped one of its two BDA descriptors. With boykopovar#5064 in, a smoke run skipped 1111+ compute dispatches with "BDA ABI requires page-table and fault-buffer descriptor metadata": specialization pruned the unreferenced page-table variable but kept the fault buffer, andMetalShaderBridge.cppdemanded both roles. Bisected to boykopovar#5064 (skips absent at boykopovar#4035+boykopovar#4772, present at boykopovar#5064). The bridge now requires at least one of the two roles; the module's descriptors are still checked against the prepared plan. This is a check in our Metal bridge only, so no upstream comment draft applies.Evidence
shader_ir_use_rewrite,agc_structurizer(+ intersection_off, iteration_selection_off, forced_fallback),agc_shader_control_flow(+ iteration_selection_off, forced_fallback),agc_spirv_module,agc_spirv_bvh_intersect_function,agc_shader_disk_cache,agc_formatted_buffer_once: 12/12 pass. WithANYPS5_ENABLE_SPIRV_TOOLS=ON:agc_spirv_optimizer(default, full, none) pass, also after the perf(shader): avoid redundancy traversal map copies boykopovar/AnyPS5#5511 patch. Metal bridge build (ANYPS5_METAL_SHADER_BRIDGE=ON):metal_utility_testspass. No new test covers the bridge relaxation; it is exercised by the smoke below.cannot packin the GPU archiver), which is environmental. Compared by log only; no screenshots taken.🤖 Generated with Claude Code
https://claude.ai/code/session_01DgW4n3qYgi5jAAohEmXRQj