mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[dxvk] Set dummy vertex buffer size to the maximum binding stride
This commit is contained in:
parent
c66492a90f
commit
b860915aed
@ -13,6 +13,7 @@ namespace dxvk {
|
||||
MaxNumResourceSlots = 1096,
|
||||
MaxNumActiveBindings = 128,
|
||||
MaxNumQueuedCommandBuffers = 8,
|
||||
MaxVertexBindingStride = 2048,
|
||||
};
|
||||
|
||||
}
|
@ -64,7 +64,7 @@ namespace dxvk {
|
||||
|
||||
Rc<DxvkBuffer> DxvkUnboundResources::createBuffer(DxvkDevice* dev) {
|
||||
DxvkBufferCreateInfo info;
|
||||
info.size = 4;
|
||||
info.size = MaxVertexBindingStride;
|
||||
info.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT
|
||||
| VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
|
||||
| VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user