Skip to content

Commit c2731f8

Browse files
authored
Merge pull request #487 from expipiplus1/bump2
Bump vulkan to v1.3.268
2 parents 432af58 + 6e5039a commit c2731f8

File tree

686 files changed

+48429
-7154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

686 files changed

+48429
-7154
lines changed

VulkanMemoryAllocator/VulkanMemoryAllocator.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cabal-version: 2.2
55
-- see: https://github.com/sol/hpack
66

77
name: VulkanMemoryAllocator
8-
version: 0.11
8+
version: 0.11.0.1
99
synopsis: Bindings to the VulkanMemoryAllocator library
1010
category: Graphics
1111
homepage: https://github.com/expipiplus1/vulkan#readme
@@ -94,7 +94,7 @@ library
9494
, bytestring
9595
, transformers
9696
, vector
97-
, vulkan >=3.6 && <3.26
97+
, vulkan >=3.6 && <3.27
9898
default-language: Haskell2010
9999
if flag(safe-foreign-calls)
100100
cpp-options: -DSAFE_FOREIGN_CALLS

VulkanMemoryAllocator/changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## WIP
44

5+
## [0.11.0.1] - 2023-10-17
6+
- Raise upper bound on `vulkan`
7+
58
## [0.11] - 2023-10-17
69
- Bump VMA
710

VulkanMemoryAllocator/package.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: VulkanMemoryAllocator
2-
version: "0.11"
2+
version: "0.11.0.1"
33
synopsis: Bindings to the VulkanMemoryAllocator library
44
category: Graphics
55
maintainer: Ellie Hermaszewska <live.long.and.prosper@monoid.al>
@@ -20,7 +20,7 @@ library:
2020
src/lib.cpp
2121
dependencies:
2222
- base <5
23-
- vulkan >= 3.6 && < 3.26
23+
- vulkan >= 3.6 && < 3.27
2424
- bytestring
2525
- transformers
2626
- vector

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## WIP
44

5+
## [3.26] - 2023-10-17
6+
- Bump API version to v1.3.268
7+
- A breaking change is that `VkBufferMemoryBarrier` has extensions,
8+
and as such must be wrapped with `SomeStruct` when being passed
9+
in lists, for example in `cmdPipelineBarrier`
10+
511
## [3.25] - 2023-10-17
612
- Bump API version to v1.3.246
713
- VulkanSC is not included

examples/rays/Render.hs

+7-6
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,13 @@ myRecordCommandBuffer Frame {..} imageIndex = do
221221
PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR
222222
zero
223223
[]
224-
[ zero { srcAccessMask = ACCESS_HOST_WRITE_BIT
225-
, dstAccessMask = ACCESS_SHADER_READ_BIT
226-
, buffer = fCameraMatricesBuffer
227-
, offset = fCameraMatricesOffset
228-
, size = fromIntegral (sizeOf (undefined :: CameraMatrices))
229-
}
224+
[ SomeStruct
225+
zero { srcAccessMask = ACCESS_HOST_WRITE_BIT
226+
, dstAccessMask = ACCESS_SHADER_READ_BIT
227+
, buffer = fCameraMatricesBuffer
228+
, offset = fCameraMatricesOffset
229+
, size = fromIntegral (sizeOf (undefined :: CameraMatrices))
230+
}
230231
]
231232
[]
232233

generate-new/Vulkan-Docs

Submodule Vulkan-Docs updated 445 files

generate-new/src/Bespoke.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ directfb :: HasRenderParams r => [Sem r RenderElement]
11601160
directfb = [voidData "IDirectFB", voidData "IDirectFBSurface"]
11611161

11621162
screen :: HasRenderParams r => [Sem r RenderElement]
1163-
screen = [voidData "_screen_window", voidData "screen_context"]
1163+
screen = [voidData "_screen_window", voidData "_screen_context", voidData "_screen_buffer"]
11641164

11651165
nvscisyncUnsized :: HasRenderParams r => [Sem r RenderElement]
11661166
nvscisyncUnsized = [voidData "NvSciSyncFence"]

generate-new/src/Bespoke/MarshalParams.hs

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ isIntegral =
9999
, TypeName "size_t"
100100
, TypeName "VkDeviceSize"
101101
, TypeName "VkDeviceAddress"
102+
, TypeName "VkDeviceOrHostAddressConstAMDX"
102103
, TypeName "VkDeviceOrHostAddressConstKHR"
103104
, TypeName "VkDeviceOrHostAddressKHR"
104105
, TypeName "VkBool32"
@@ -157,6 +158,7 @@ isPassAsPointerType' = \case
157158
, "IDirectFBSurface"
158159
, "IUnknown"
159160
, "jobject"
161+
, "_screen_buffer"
160162
, "_screen_window"
161163
, "_screen_context"
162164
, "NvSciSyncFence"

generate-new/src/Bespoke/RenderParams.hs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ renderParams handles = r
4848
. ( case parent of
4949
"VkPerformanceCounterResultKHR" -> (<> "Counter")
5050
"VkDeviceOrHostAddressConstKHR" -> (<> "Const")
51+
"VkDeviceOrHostAddressConstAMDX" -> (<> "ConstAMDX")
5152
"VkDescriptorDataEXT" -> articalize
5253
_ -> id
5354
)

generate-new/src/Documentation/RunAsciiDoctor.hs

-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ asciidoctor specFlavor extensions vkPathRelative manTxt = do
8282
, vkPath </> "gen"
8383
, "-r"
8484
, vkPath </> "config/spec-macros.rb"
85-
, "-r"
86-
, vkPath </> "config/tilde_open_block.rb"
8785
]
8886
SpecXr -> ["-r", vkPath </> "scripts/openxr-macros.rb"]
8987
adocOpts = attribOpts ++ noteOpts ++ adocExts

openxr/openxr.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@ library
204204
if flag(use-vulkan-types)
205205
cpp-options: -DUSE_VULKAN_TYPES
206206
build-depends:
207-
vulkan >=3.0 && <3.26
207+
vulkan >=3.0 && <3.27

openxr/package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ library:
3232
cpp-options: -DTRACE_CALLS
3333
- condition: flag(use-vulkan-types)
3434
cpp-options: -DUSE_VULKAN_TYPES
35-
dependencies: vulkan >= 3.0 && < 3.26
35+
dependencies: vulkan >= 3.0 && < 3.27
3636
- condition: false
3737
other-modules: Paths_openxr
3838
ghc-options:

package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: vulkan
2-
version: "3.25"
2+
version: "3.26"
33
synopsis: Bindings to the Vulkan graphics API.
44
description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme)
55
category: Graphics

0 commit comments

Comments
 (0)