Only map memory that is meant to be accessed by CPU #12
Labels
aspect: API
Issues with the API
module: memory
gfx-memory issues
type: enhancement
New feature or request
Currently, gfx-memory unconditionally maps everything that is CPU-visible. It assumes that 1) mapping is harmless if we don't actually do anything with it, and 2) that on most systems non-cpu-visible memory types will be preferred for private resources.
However, on Intel GPUs apparently all memory types are CPU-visible. We don't want to map everything and exhaust the resident memory space. We don't want to confuse RenderDoc - baldurk/renderdoc#1863 (comment)
I wish we could approach this without breaking the API though.
The text was updated successfully, but these errors were encountered: