Reputation:
DirectX 11 allows swapchains with DXGI_USAGE_UNORDERED_ACCESS
, but there is no way of setting the required CPUAccess flag ( D3D11_CPU_ACCESS_WRITE
).
What is the purpose of such swapchain?
Upvotes: 0
Views: 344
Reputation: 41067
DXGI_USAGE_UNORDERED_ACCESS
is used for writing to a resource as a UAV from a compute shader, not the CPU.
Upvotes: 1