Repository navigation
Distinguish wave-width and creation-stage failures in offline compute checks - #1
Closed
MichaelSmithAI wants to merge 2 commits into
Closed
MichaelSmithAI wants to merge 2 commits into
MichaelSmithAI wants to merge 2 commits into
Conversation
Xvania7
pushed a commit
that referenced
this pull request
Nov 25, 2026
Exercise the descriptor cursor regression on the actual heap capacity
Xvania7
force-pushed
the
feat/issue-817-wave-lane-check
branch
from
November 25, 2026 07:49
9d4b8d7 to
754fe02
Compare
Author
|
Closing this delivery PR because you already carried the offline compute diagnostic and its regression into 754fe02, now the head of upstream #2194. I rebuilt that exact commit and ran the ignored fixture with both DXC-built shaders on an RTX 4090 under Wine. The wave32 pipeline was created, and the wave64 case returned the expected host-width diagnostic. Thanks for carrying it forward. |
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.
The runtime change in Marvisak#893 does not reach the separate D3D12 host used by
victory translate --pipelines. That matters for reports such as Marvisak#885, where the offline error string leaves root-signature setup and compute PSO creation indistinguishable.This follow-up uses your fixed-width parser in the offline host. When a shader requires more lanes than the device reports, it returns the required width and the device maximum. Other failures keep the underlying error and identify the stage as compute root signature or compute PSO. When the capability query supplies no usable maximum, pipeline creation proceeds as before.
Melissa tested the offline helper with DXC-compiled Wave32 and Wave64 compute shaders on an RTX 4090 under Wine/vkd3d-proton 3.2. Wave32 created a pipeline; Wave64 returned the width-specific diagnostic. The Win64 CLI type-checked. The test uses the same helper the CLI calls; no title corpus was run.
To repeat the optional fixture on a host with a maximum wave size of 32, save the following as wave.hlsl:
Compile twice with
dxc -T cs_6_6 -E main -D WIDTH=32 -Fo wave32.dxil wave.hlsland the corresponding WIDTH=64 command. Set WAVE32_FIXTURE and WAVE64_FIXTURE to the files' paths and runcargo test -p victory-shader offline_compute_pipeline_classifies_fixed_wave_size -- --ignored.