nimious / vulkan Goto Github PK
View Code? Open in Web Editor NEWNim bindings for Vulkan, the API for access to graphics and compute on GPUs.
License: MIT License
Nim bindings for Vulkan, the API for access to graphics and compute on GPUs.
License: MIT License
Related to nim-lang/Nim#8526
Hi there, I wonder if this binding is usable on Windows x64 now, or some work is required to make it work. Since you said that there are some problems with the compiler, which was a year ago. Another thing is that it was built with SDK 1.0.5.0, which is kinda outdated as well.
EDIT: There never was an issue, I was dumb enough to pass a physical device to vkCreateSwapchainKHR
If trying to create a swapchain with vkCreateSwapchainKHR(device, addr createInfo, nil, addr swapchain)
where swapchain
is of type VkSwapchainKHR
I get SIGSEGV: Illegal Storage access
.
I suppose this is just me being dumb but I really can't figure out what I am doing wrong here.
The last tagged version for this is 1.0.5.0, which is from 2016 and has API differences (mainly Vk*Bits vs vk*Bit).
I would make this a PR, but git doesn't allow PRs for tags.
nick /tmp/vulkan $ nimble build
Verifying dependencies for [email protected]
Tip: 6 messages have been suppressed, use --verbose to show them.
Error: Nothing to build. Did you specify a module to build using the `bin` key in your .nimble file?
nick /tmp/vulkan $ !! --verbose
nimble build --verbose
Setting Nim stdlib prefix to /usr
Setting Nim stdlib path to /usr/lib/nim
Info Hint: used config file '/etc/nim.cfg' [Conf]
Info Hint: used config file '/tmp/vulkan/nim.cfg' [Conf]
Info usr/lib/nim/system.nim(470, 35) Warning: unknown magic 'Exception' might crash the compiler [UnknownMagic]
Info usr/lib/nim/system/nimscript.nim(15, 19) Warning: unknown magic 'BuildOS' might crash the compiler [UnknownMagic]
Verifying dependencies for [email protected]
Error: Nothing to build. Did you specify a module to build using the `bin` key in your .nimble file?
also didn't you think about including your library to https://nim-lang.org/docs/lib.html?
https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#_device_group_queries
These bindings would enable multi-physical GPU support within a single logical GPU.
vkQueueFamilySparseBindingBit is 0 in the code, but should be 8 according to specs (0 makes also simply makes no sense)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.