Skip to content

Commit

Permalink
Regenerate v1.1.114
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed Jul 30, 2019
1 parent ec027e4 commit 91990bc
Show file tree
Hide file tree
Showing 5 changed files with 3,779 additions and 3,108 deletions.
26 changes: 8 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

VulkanCore wraps Vulkan and exposes the library calls necessary to work with
Vulkan. It is targeted for developers wanting to directly work with Vulkan in
Julia.
Julia.

If you are looking for a high-level julian API you might wish to take a look at
[Vulkan.jl](https://github.com/JuliaGPU/Vulkan.jl).
Expand All @@ -28,37 +28,27 @@ with the [generator file](gen/generator.jl).
The API aims to replicate the Vulkan C-API and is thus very bare bones and hands-on.

```julia
using VulkanCore
using VulkanCore.LibVulkan

count = Ref{Cuint}(0)

# Scan layers
err = vk.vkEnumerateInstanceLayerProperties(count, C_NULL)
@assert err == vk.VK_SUCCESS
err = vkEnumerateInstanceLayerProperties(count, C_NULL)
@assert err == VK_SUCCESS

global_layer_properties = Array(vk.VkLayerProperties, count[])
err = vk.vkEnumerateInstanceLayerProperties(count, global_layer_properties)
@assert err == vk.VK_SUCCESS
err = vkEnumerateInstanceLayerProperties(count, global_layer_properties)
@assert err == VK_SUCCESS
```

### Semantic Versioning
VulkanCore aims to follow a restricted semantic versioning scheme. Since we are
wrapping Vulkan the major and minor version are going to follow the Vulkan
standard. Vulkan `v"1.0.8"` maps to VukanCore.jl `v"1.0"`.
Point releases are reserved for internal development *and* point release updates
to the Vulkan specfication.

As such you as a consumer of the package can target a specific Vulkan release by
requiring a specific version of VulkanCore.jl.

## Contributing
You are welcome to submit pull-request for improvments, but since this is
primarily a wrapper you might focus your attention on the high-level API at
[Vulkan.jl](https://github.com/JuliaGPU/Vulkan.jl).

## Thanks
This package is inspired by the work done on [CUDArt.jl](https://github.com/JuliaGPU/CUDArt.jl)
and [OpenCL.jl](https://github.com/JuliaGPU/OpenCL.jl).
and [OpenCL.jl](https://github.com/JuliaGPU/OpenCL.jl).

A big thank you also to all core Julia developers, who made this possible in the
A big thank you also to all core Julia developers, who made this possible in the
first place.
2 changes: 1 addition & 1 deletion gen/generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ else
run(`git -C $VK_DIR fetch`)
end

# run(`$git checkout some_commit`)
run(`git -C $VK_DIR checkout v1.1.114`)

# generate Vulkan bindings
const VK_INCLUDE = joinpath(@__DIR__, "Vulkan-Headers", "include")
Expand Down
Loading

0 comments on commit 91990bc

Please sign in to comment.