VulkanMemoryAllocator 0.3.8 → 0.3.9
raw patch · 4 files changed
+13/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ VulkanMemoryAllocator: instance Data.Bits.FiniteBits VulkanMemoryAllocator.AllocationCreateFlagBits
+ VulkanMemoryAllocator: instance Data.Bits.FiniteBits VulkanMemoryAllocator.AllocatorCreateFlagBits
+ VulkanMemoryAllocator: instance Data.Bits.FiniteBits VulkanMemoryAllocator.DefragmentationFlagBits
+ VulkanMemoryAllocator: instance Data.Bits.FiniteBits VulkanMemoryAllocator.PoolCreateFlagBits
+ VulkanMemoryAllocator: instance Data.Bits.FiniteBits VulkanMemoryAllocator.RecordFlagBits
Files
- VulkanMemoryAllocator.cabal +2/−2
- changelog.md +4/−0
- package.yaml +1/−1
- src/VulkanMemoryAllocator.hs +6/−5
VulkanMemoryAllocator.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: fc6e88640fbfd21d257ac23c8012464900c1691882a5213592c472a5c787ac03+-- hash: 85c6abee27ec9e1ff6046b5a20bbe8324856a6d97fe197fbede65cb24c461ff0 name: VulkanMemoryAllocator-version: 0.3.8+version: 0.3.9 synopsis: Bindings to the VulkanMemoryAllocator library category: Graphics homepage: https://github.com/expipiplus1/vulkan#readme
changelog.md view
@@ -2,6 +2,10 @@ ## WIP +## [0.3.9] - 2020-11-15++- Derive `FiniteBits` for bitmasks+ ## [0.3.8] - 2020-11-12 - Bump VMA
package.yaml view
@@ -1,5 +1,5 @@ name: VulkanMemoryAllocator-version: "0.3.8"+version: "0.3.9" synopsis: Bindings to the VulkanMemoryAllocator library category: Graphics maintainer: Joe Hermaszewski <live.long.and.prosper@monoid.al>
src/VulkanMemoryAllocator.hs view
@@ -231,6 +231,7 @@ import Vulkan.Zero (Zero(..)) import Control.Monad.IO.Class (MonadIO) import Data.Bits (Bits)+import Data.Bits (FiniteBits) import Data.Typeable (Typeable) import Foreign.C.Types (CChar) import Foreign.C.Types (CSize)@@ -2583,7 +2584,7 @@ -- | Flags for created 'Allocator'. newtype AllocatorCreateFlagBits = AllocatorCreateFlagBits Flags- deriving newtype (Eq, Ord, Storable, Zero, Bits)+ deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | Allocator and all objects created from it will not be synchronized -- internally, so you must guarantee they are used from only one thread at@@ -2870,7 +2871,7 @@ -- | Flags to be used in /VmaRecordSettings::flags/. newtype RecordFlagBits = RecordFlagBits Flags- deriving newtype (Eq, Ord, Storable, Zero, Bits)+ deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | Enables flush after recording every function call. --@@ -3584,7 +3585,7 @@ -- | Flags to be passed as /VmaAllocationCreateInfo::flags/. newtype AllocationCreateFlagBits = AllocationCreateFlagBits Flags- deriving newtype (Eq, Ord, Storable, Zero, Bits)+ deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | Set this flag if the allocation should have its own memory block. --@@ -3845,7 +3846,7 @@ -- | Flags to be passed as /VmaPoolCreateInfo::flags/. newtype PoolCreateFlagBits = PoolCreateFlagBits Flags- deriving newtype (Eq, Ord, Storable, Zero, Bits)+ deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | Use this flag if you always allocate only buffers and linear images or -- only optimal images out of this pool and so Buffer-Image Granularity can@@ -4259,7 +4260,7 @@ -- | Flags to be used in 'defragmentationBegin'. None at the moment. Reserved -- for future use. newtype DefragmentationFlagBits = DefragmentationFlagBits Flags- deriving newtype (Eq, Ord, Storable, Zero, Bits)+ deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) pattern DEFRAGMENTATION_FLAG_INCREMENTAL = DefragmentationFlagBits 0x00000001