[d3d11] Allow UAVs to be created for the swap image

Fixes an issue with ComputeMark
This commit is contained in:
Philip Rebohle 2018-02-22 21:38:51 +01:00
parent 2b9ab6626a
commit 8813ff979a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ namespace dxvk {
desc.SampleDesc = pSwapChainDesc->SampleDesc;
desc.Usage = D3D11_USAGE_DEFAULT;
desc.BindFlags = D3D11_BIND_RENDER_TARGET
| D3D11_BIND_SHADER_RESOURCE;
| D3D11_BIND_SHADER_RESOURCE
| D3D11_BIND_UNORDERED_ACCESS;
desc.CPUAccessFlags = 0;
desc.MiscFlags = 0;