vulkan 3.26.1 → 3.26.2
raw patch · 5 files changed
+55/−4 lines, 5 filesnew-uploader
Files
- LICENSE +30/−0
- changelog.md +5/−0
- package.yaml +8/−1
- src/Vulkan/CStruct/Extends.hs-boot +1/−1
- vulkan.cabal +11/−2
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright Ellie Hermaszewska (c) 2016++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of Ellie Hermaszewska nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
changelog.md view
@@ -2,6 +2,11 @@ ## WIP +## [3.26.2] - 2024-06-28++- New flag darwin-lib-dirs that auto-adds LunarG dylibs. Requires Cabal >=3.10.3.+- Fix for GHC 9.8.2+ ## [3.26.1] - 2023-10-21 - Bump API version to v1.3.269
package.yaml view
@@ -1,5 +1,5 @@ name: vulkan-version: "3.26.1"+version: "3.26.2" synopsis: Bindings to the Vulkan graphics API. description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme) category: Graphics@@ -27,6 +27,8 @@ extra-libraries: vulkan-1 - condition: os(darwin) extra-libraries: vulkan+ - condition: os(darwin) && flag(darwin-lib-dirs)+ extra-lib-dirs: /usr/local/lib - condition: '!os(windows) && !os(darwin)' pkg-config-dependencies: vulkan - condition: flag(safe-foreign-calls)@@ -62,6 +64,11 @@ trace-calls: description: Inserts calls to Debug.Trace.traceEventIO around every Vulkan call. default: no+ manual: yes++ darwin-lib-dirs:+ description: Add default LunarG MoltenVK SDK paths to extra-lib-dirs when building on MacOS. Requires Cabal >=3.10.3.+ default: yes manual: yes tests:
src/Vulkan/CStruct/Extends.hs-boot view
@@ -31,7 +31,7 @@ class PeekChain (xs :: [Type]) class PokeChain (xs :: [Type])-type family Extends (p :: [Type] -> Type) (x :: Type) :: Constraint+type family Extends (p :: [Type] -> Type) (x :: Type) :: Constraint where .. type family Extendss (p :: [Type] -> Type) (xs :: [Type]) :: Constraint where Extendss p '[] = () Extendss p (x : xs) = (Extends p x, Extendss p xs)
vulkan.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.2 --- This file has been generated from package.yaml by hpack version 0.35.0.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack name: vulkan-version: 3.26.1+version: 3.26.2 synopsis: Bindings to the Vulkan graphics API. description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme) category: Graphics@@ -13,6 +13,7 @@ bug-reports: https://github.com/expipiplus1/vulkan/issues maintainer: Ellie Hermaszewska <live.long.and.prosper@monoid.al> license: BSD-3-Clause+license-file: LICENSE build-type: Simple extra-source-files: readme.md@@ -23,6 +24,11 @@ type: git location: https://github.com/expipiplus1/vulkan +flag darwin-lib-dirs+ description: Add default LunarG MoltenVK SDK paths to extra-lib-dirs when building on MacOS. Requires Cabal >=3.10.3.+ manual: True+ default: True+ flag generic-instances description: Derive Generic instances for all structs. Disabled by default because of code size and compile time impact. manual: True@@ -684,6 +690,9 @@ if os(darwin) extra-libraries: vulkan+ if os(darwin) && flag(darwin-lib-dirs)+ extra-lib-dirs:+ /usr/local/lib if !os(windows) && !os(darwin) pkgconfig-depends: vulkan