gpu-vulkan 0.1.0.166 → 0.1.0.167
raw patch · 2 files changed
+6/−3 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Gpu.Vulkan.ImageView: null :: forall (nm :: Symbol) (ivfmt :: Format) s. IO (I nm ivfmt s)
Files
- gpu-vulkan.cabal +1/−1
- src/Gpu/Vulkan/ImageView.hs +5/−2
gpu-vulkan.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: gpu-vulkan-version: 0.1.0.166+version: 0.1.0.167 synopsis: Vulkan library description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/gpu-vulkan#readme> category: GPU
src/Gpu/Vulkan/ImageView.hs view
@@ -11,7 +11,7 @@ -- * CREATE - create, unsafeRecreate, unsafeRecreate', I, CreateInfo(..),+ create, null, unsafeRecreate, unsafeRecreate', I, CreateInfo(..), -- ** Manage Multiple Image View @@ -23,7 +23,7 @@ ) where -import Prelude hiding (lookup)+import Prelude hiding (null, lookup) import GHC.TypeLits import Foreign.Storable.PeekPoke import Control.Exception@@ -78,6 +78,9 @@ create (Device.D d) ci (AllocationCallbacks.toMiddle -> mac) f = bracket (M.create d (createInfoToMiddle ci) mac) (\i -> M.destroy d i mac) (f . I)++null :: IO (I nm ivfmt s)+null = I <$> M.null group :: AllocationCallbacks.ToMiddle ma =>