Repository navigation
spirv-opt: Avoid duplicate decorations on unrolled loops. - #6690
Merged
alan-baker merged 1 commit intoJun 2, 2026
Merged
Conversation
Adds a test to repro and validate the result.
alan-baker
approved these changes
May 30, 2026
damyanp
added a commit
to microsoft/DirectXShaderCompiler
that referenced
this pull request
Aug 6, 2026
Fixes two SPIR-V validation failures under -O3: - #8609: loop unrolling duplicated RelaxedPrecision decorations (KhronosGroup/SPIRV-Tools#6690) - #8603: MergeBinaryOpSelect produced an OpSelect with a vector result type and a scalar condition, only legal in SPIR-V 1.4+ (KhronosGroup/SPIRV-Tools#6827) SPIRV-Headers moves to 29981f65 to match; SPIRV-Tools 1c336172 does not build against the older headers. XFAIL resource-heap-ext-texture: the validator now requires explicit layout for UniformConstant when SPV_EXT_descriptor_heap is used (KhronosGroup/SPIRV-Tools#6792). Assisted-by: copilot Co-authored-by: Copilot <[email protected]> Copilot-Session: b04b21af-2d8b-4af5-b9ad-1b84073588f5 Co-authored-by: Copilot <[email protected]> Copilot-Session: b04b21af-2d8b-4af5-b9ad-1b84073588f5
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.
Fixes issue: #6689
Also adds a test to reproduce and validate the result.
This PR is sponsored by Ludicon