stetre / moonvulkan Goto Github PK
View Code? Open in Web Editor NEWLua bindings for Vulkan
License: Other
Lua bindings for Vulkan
License: Other
When I tried the library out, this error came up:
`[string "require('moonvulkan.constructors')"]:1: module 'moonvulkan.constructors' not found:
no field package.preload['moonvulkan.constructors']
no file '/home/warpspeedscp/.luarocks/share/lua/5.1/moonvulkan/constructors.lua'
no file '/home/warpspeedscp/.luarocks/share/lua/5.1/moonvulkan/constructors/init.lua'
no file '/home/warpspeedscp/torch/install/share/lua/5.1/moonvulkan/constructors.lua'
no file '/home/warpspeedscp/torch/install/share/lua/5.1/moonvulkan/constructors/init.lua'
no file './moonvulkan/constructors.lua'
no file '/home/warpspeedscp/torch/install/share/luajit-2.1.0-beta1/moonvulkan/constructors.lua'
no file '/usr/local/share/lua/5.1/moonvulkan/constructors.lua'
no file '/usr/local/share/lua/5.1/moonvulkan/constructors/init.lua'
no file '/home/warpspeedscp/torch/install/lib/moonvulkan/constructors.so'
no file '/home/warpspeedscp/.luarocks/lib/lua/5.1/moonvulkan/constructors.so'
no file '/home/warpspeedscp/torch/install/lib/lua/5.1/moonvulkan/constructors.so'
no file './moonvulkan/constructors.so'
no file '/usr/local/lib/lua/5.1/moonvulkan/constructors.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no module 'moonvulkan.constructors' in file './moonvulkan.so'
stack traceback:
[C]: in ?
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?`
Is there a fix for this?
I noticed that this library only supports Linux, but a lot of the other moonlibs support both. I am a Linux user myself, but in case users of my software (which use this library) want to use Windows I was wondering if there were plans to add that?
See also KhronosGroup/Vulkan-Docs#814
$ lua hello.lua
lua: hello.lua:3: module 'moonvulkan' not found:
no field package.preload['moonvulkan']
no file '/usr/share/lua/5.4/moonvulkan.lua'
no file '/usr/share/lua/5.4/moonvulkan/init.lua'
no file '/usr/lib/lua/5.4/moonvulkan.lua'
no file '/usr/lib/lua/5.4/moonvulkan/init.lua'
no file './moonvulkan.lua'
no file './moonvulkan/init.lua'
no file '/usr/lib/lua/5.4/moonvulkan.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file './moonvulkan.so'
stack traceback:
[C]: in function 'require'
hello.lua:3: in main chunk
[C]: in ?
Instructions from README.md aren't clear. How to bind it with Vulkan?
When trying to use the create_swapchain function I get the error vkCreateSwapchainKHR address not loaded
. This kind of seems like a linking error, but I'm still learning Lua so I don't know.
cmd.c and debug_report_callback make use of the return value of lua_rawgeti, which returns void in above implementations
Calling vk.get_physical_device_properties( )
without enabling the VK_KHR_get_physical_device_properties2
instance extension causes a segmentation fault.
System: Ubuntu 18.04, NVidia 390.116, VulkanSDK 1.1.116.0, MoonVulkan 0.8.
This affects most of the examples. The workaround is to explicitly enable the extension when calling vk.create_instance( )
(even though this should not be needed when using Vulkan 1.1, because the extension has been promoted to core).
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.