Skip to content

Conversation

@alsepkow
Copy link
Contributor

This PR adds a workaround to the hlk long vector derivative tests to prevent sinking of the derivative call into the conditional. This is a known bug in DXC that will not be fixed for 6.9 release.
DXC bug tracked via issue #8001

Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though the result of the wave op is unused, it appears that it still prevents ddx from being moved, and the compiler doesn't know it can remove the wave op, so as a workaround, that should be ok for now. It just might be more fragile if the compiler could DCE the wave op in the future, which would be legal.

@alsepkow
Copy link
Contributor Author

alsepkow commented Jan 13, 2026 via email

@alsepkow alsepkow merged commit 9fdd756 into microsoft:main Jan 13, 2026
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants