phr00t / FocusEngine

Focus Game Engine. This is Stride/Xenko fast-tracked for Phr00t's Software games. Improvements over the original Focus on Vulkan support, PC platforms, VR, performance & ease. Cherry-picks commits from other forks as needed.
MIT License
97 stars 11 forks source link

PostProcessing + VR + Vulkan = Crash #96

Closed phr00t closed 5 years ago

phr00t commented 5 years ago

Vulkan has a "operation not supported" crash when trying to use Post Processing + VR. Looks like CommandBuffer.CopyRegion call on ForwardRenderer.cs line 703 kicks off the crash. Some buffer is expected to be "Staging" during the CopyRegion call, and when it isn't, an exception is called @ CommandList.Vulkan.cs line 1107.

phr00t commented 5 years ago

fixed with https://github.com/phr00t/xenko/commit/e51f75d30fc7e3c1666a840b4fac295679c8957e