Skip to content

Conversation

Sergio0694
Copy link
Owner

Description

This PR fixes a StackOverflowException in the DX12/D2D generators that could happen when doing HLSL rewriting on a shader that had some recursive members (including mutually recursive members with some other methods in between). This was particularly bad because as the crash was from the generators, VS would just instantly crash as well.

@Sergio0694 Sergio0694 added the bug fix ✅ A fix for a reported/discovered bug label Dec 14, 2023
@Sergio0694 Sergio0694 merged commit d6ed7dd into main Dec 14, 2023
@Sergio0694 Sergio0694 deleted the dev/fix-rewriting-recursion branch December 14, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix ✅ A fix for a reported/discovered bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant