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
{{ message }}
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
CreateGraphicsPipelineState throws a NullReferenceException for me. I can't guarantee that its not my mistake, but all the arguments seem set, except that I have left some shaders empty (I only need pixel and vertex shader for now). In C++ it worked leaving other shaders at null.
Could that be the cause for a NullReferenceException? In the source I can see it is doing fixed-statements on all shaders without checking if the shaders are null. Would that throw an exception?
[edit] with some trial and error I figured out that it was the StreamOutputDescription not being set, even though I don't use it. Maybe make it a struct or add a null check? Feel free to close the issue if throwing a NullReferenceException instead of doing a null check is the intended behavior.