RGL
RGL copied to clipboard
[D3D12] Efficiency: collapse barriers
Currently, the D3D12 backend does not collapse ResourceBarrier commands. This is inefficient.
CommandBufferD3D12 handles all barrier usage automatically. We may want to consider an approach similar to what CommandBufferVk does in order to satisfy Vulkan's (more strict) barrier rules.