bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
15.05k stars 1.94k forks source link

Create DX11 vertex buffer failing #1654

Open tomqwertysdsad opened 5 years ago

tomqwertysdsad commented 5 years ago

_str from CallbackStub::fatal device->CreateBuffer(&desc , 0 , &m_ptr ) FAILED 0x8007000e

Call stack: image

I am creating quite a few buffers, is there a limit or a memory cap I need to be aware of? It is successfully creating some, but fails at some point.

Let me know if you need any more information.

bkaradzic commented 5 years ago

Create simple repro case by modifying existing example.

tomqwertysdsad commented 5 years ago

@bkaradzic I'll have to do that this weekend when I have more time. I quickly tested last night using OpenGL as the rendered type and that is fine (albeit very slow/laggy). Again implies dx11 memory issues - probably nothing to do with this project, but I will try and confirm that.

I don't suppose you know if there is a limit on the number of buffers/buffer size/memory in dx11?