gpu-allocator
gpu-allocator copied to clipboard
Deduplicate code in visualizer
The visualizer code is very low quality at the moment. There is lots of duplication between the D3D12 and Vulkan variants. We should unify these more.
@tosti007 it looks like you did exactly this in #176? Can we link the PR and close this?
Not fully, there's still some duplicated code, but solving that requires a larger overhaul regarding how the visualizations are done. I think the way forward would be to define some "output stats sctructs" that you can obtain from the allocator, which can then be passed into a single shared visualizer.