-
Notifications
You must be signed in to change notification settings - Fork 5
Description
CommandList.SetVertexBuffer(0, LinesVertexBuffer);
can yield an exception under certain drivers, it seems:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Under .NET Framework, this kind of violation can be caught with some extra work (try/catch is not enough by itself - the runtime defaults to managing these exceptions) and with some configuration, it may allow for recovery. .NET Core lacks the ability to manage these exceptions : the runtime catches and silently exits the application.
This looks like an issue within Veldrid itself in terms of driver handling and may well be intentional and/or a bug.
Noting here because I run into this primarily with intel drivers and only ever with Vulkan.