Closed jcoder58 closed 7 years ago
Looks like fall-out from the marshalling rework done for Linux/Xamarin - struct memory was originally zeroed when allocated, but that was swapped for explicitly initialising all fields. Guess I missed some! Will update the generator to fix.
Huh, actually subtler than that; memory zeroing still happens for individual struct allocates, but not for arrays. Either way, the fix is the same, let me know if that resolves your validate error.
That fixed it.
I got the following warning from Vulkan:
Looking through your code, I saw that you did not explicitly set the Next field when you marshaled the structures. I fixed the warning by adding
to PipelineShaderStageCreateInfo.MarshalTo to fix the issue I was having.