Skip to content

Commit

Permalink
[d3d11] Allow UAVs to be created for the swap image
Browse files Browse the repository at this point in the history
Fixes an issue with ComputeMark
  • Loading branch information
doitsujin committed Feb 22, 2018
1 parent 2b9ab66 commit 8813ff9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/d3d11/d3d11_present.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8813ff9

Please sign in to comment.