gpu-vulkan-core 0.1.0.17 → 0.1.0.18
raw patch · 2 files changed
+11/−3 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Gpu.Vulkan.Cmd.Core: clearColorImage :: C -> I -> Word32 -> Ptr ClearColorValue -> Word32 -> Ptr SubresourceRange -> IO ()
Files
- gpu-vulkan-core.cabal +1/−1
- src/Gpu/Vulkan/Cmd/Core.hsc +10/−2
gpu-vulkan-core.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: gpu-vulkan-core-version: 0.1.0.17+version: 0.1.0.18 synopsis: Thin wrapper for Vulkan API description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/gpu-vulkan-core#readme> category: GPU
src/Gpu/Vulkan/Cmd/Core.hsc view
@@ -20,14 +20,17 @@ copyBuffer, copyBufferToImage, copyImageToBuffer, blitImage, + -- * CLEAR COLOR IMAGE++ clearColorImage,+ -- * PIPELINE BARRIER pipelineBarrier, pipelineBarrier2, -- * QUERY - beginQuery, endQuery, resetQueryPool,- writeTimestamp,+ beginQuery, endQuery, resetQueryPool, writeTimestamp, ) where @@ -130,3 +133,8 @@ foreign import ccall "vkCmdPipelineBarrier2" pipelineBarrier2 :: CommandBuffer.C -> Ptr DependencyInfo -> IO ()++foreign import ccall "vkCmdClearColorImage" clearColorImage ::+ CommandBuffer.C -> Image.I -> #{type VkImageLayout} ->+ Ptr ClearColorValue -> #{type uint32_t} -> Ptr Image.SubresourceRange ->+ IO ()