You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Attempts to compile the following code results in an internal crash in the compiler.
(GetLoweredUDT() returns nullptr when passed the payload's type)
(This happened while writing tests. Not a customer scenario AFAIK)
While it's not explicitly stated, the payload is essentially in groupshared memory. The closest the spec comes is to point out that "The size of the payload structure counts against groupshared memory limits". If I remember correctly, shaders with payloads not in groupshared won't run. Consequently, it makes sense that resources can't be in payloads since they can't be in groupshared. Crashing isn't okay of course.
Out of curiosity, I tried putting resources in groupshared and had similar, but not identical failures: https://godbolt.org/z/8cfoesvos
Description
Attempts to compile the following code results in an internal crash in the compiler.
(GetLoweredUDT() returns nullptr when passed the payload's type)
(This happened while writing tests. Not a customer scenario AFAIK)
Steps to Reproduce
Actual Behavior
Asserts, then crash
Environment
The text was updated successfully, but these errors were encountered: