more twiddling
This commit is contained in:
parent
1cae4b0d65
commit
73cb22a1f0
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@ import qualified VulkanMemoryAllocator as VMA
|
|||
import Types
|
||||
import Memory
|
||||
import Util
|
||||
import Data.Maybe (fromMaybe)
|
||||
import Mesh (compactDraws)
|
||||
|
||||
frameOverlap :: Int
|
||||
|
@ -103,7 +102,7 @@ createFrames
|
|||
|
||||
indirectBuffer <- createAllocatedBuffer
|
||||
allocator
|
||||
(sizeOf (undefined :: Vk.DrawIndirectCommand))
|
||||
(maxObjects * sizeOf (undefined :: Vk.DrawIndirectCommand))
|
||||
(Vk.BUFFER_USAGE_TRANSFER_DST_BIT .|.
|
||||
Vk.BUFFER_USAGE_STORAGE_BUFFER_BIT .|.
|
||||
Vk.BUFFER_USAGE_INDIRECT_BUFFER_BIT
|
||||
|
|
Loading…
Reference in a new issue