microsoft / D3D11On12

The Direct3D11-On-12 mapping layer
MIT License
274 stars 33 forks source link

Gap in DeferredContext support for Map(DISCARD) on a buffer #21

Open vdwtanner opened 3 years ago

vdwtanner commented 3 years ago

There is one known gap with D3D11On12’s deferred context support, which is if someone tries to create an ID3D11CommandList that has a Map(DISCARD) operation on a buffer, and then execute that command list more than once.

https://github.com/microsoft/D3D11On12/blob/master/src/device.cpp#L955