-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange massive expansion of shader #5538
Labels
goal:client support
Feature or fix needed for a current slang user.
Milestone
Comments
Thank you for providing a detailed repro. I will look into this today. |
csyonghe
added
the
goal:client support
Feature or fix needed for a current slang user.
label
Nov 12, 2024
This is now fixed with PR 5544. We now generate this code:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing a very bizarre expansion of a shader that seems to work just fine when compiled under DXC:
Any advice would be appreciated.
Thanks.
The following shader seems to give a very strange massive expansion in slang (that then causes VK_ERROR_DEVICE_LOST in Vulkan):
The DXC compiled code seems reasonable:
The slang compiled code seems to lose the plot:
The text was updated successfully, but these errors were encountered: