Skip to content

Commit

Permalink
[dxvk] Add index buffer and vertex buffer usage flags to dummy buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Feb 5, 2018
1 parent 6f6ecb4 commit 0437e56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dxvk/dxvk_unbound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ namespace dxvk {
DxvkBufferCreateInfo info;
info.size = MaxVertexBindingStride;
info.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT
| VK_BUFFER_USAGE_VERTEX_BUFFER_BIT
| VK_BUFFER_USAGE_INDEX_BUFFER_BIT
| VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
| VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
| VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
Expand Down

0 comments on commit 0437e56

Please sign in to comment.