mesa/src/microsoft/resource_state_manager
Jesse Natalie 156ef05ec7 d3d12: Handle memory barriers
This is a bit fragile. The algorithm is essentially:
- Let the driver track state for non-dual-bound resources.
- For resources that are dual-bound as SSBO/image and a second
  bind point, assume they're being used as UAVs.
- When a MemoryBarrier is issued, dirty all destination bind points
  so they re-assert their state, and if the destination is not UAV,
  temporarily suppress UAV state re-assertion.

Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14342>
2022-01-07 03:31:16 +00:00
..
D3D12ResourceState.cpp d3d12: Handle memory barriers 2022-01-07 03:31:16 +00:00
D3D12ResourceState.h microsoft/resource_state_manager: Remove unused private variable 2021-01-03 23:07:21 +00:00
meson.build d3d12: Use DirectX-Headers wrap for d3d12.h 2020-12-16 16:25:54 +00:00