FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

Struct marshalling under Mono #29

Open FacticiusVir opened 7 years ago

FacticiusVir commented 7 years ago

Output from the validation layers suggests that one of the MemUtil WriteToPointer methods is mangling data when run on Linux; if the implementation of TypedReference is different on Mono this may be the cause. Portable library targets are also missing a set of the dynamic method & reflection functions used by current marshalling code, so these need rewritten.