microsoft / D3D12TranslationLayer

A library containing utilities for mapping higher-level graphics work to D3D12
MIT License
327 stars 47 forks source link

Fix lockable shared buffers #99

Closed jenatali closed 6 days ago

jenatali commented 6 days ago

When 9on12 doesn't translate lockable shared buffers to HEAP_TYPE_DEFAULT (i.e. UMA), we go down the wrong path, and map/unmap doesn't actually get contents into the shared buffer anymore. This is a simple fix to redirect that.