Comments (13)
I'm no longer working in the structural biology space but in statistical genetics and almost entirely in Rust, but I hope to return to Vulkan when the opportunity arises.
from vookoo.
I have hit the same issue. I simply changed the include to:
#include <spirv/unified1/spirv.hpp11>
Is this project still alive? A pull request could be warranted if this work on every machine.
However there's also the issue that on Mac OS X, I am not finding this spirv.hpp11 file.
Can it be simply copied from Linux (I will have to try when I have a bit more time)
from vookoo.
Looks like vookoo is becoming a bit bitrotten, which is sad. I really liked the capabilities and code. @andy-thomason what's your plan for this repo?
from vookoo.
If you want to make PRs, I'll be happy to accept them.
from vookoo.
The motivation for Vookoo came from the need to make high framerate molecular simulators like https://github.com/andy-thomason/moovoo
from vookoo.
@FunMiles @Steve132 cannot reproduce your issue.
I'm on Vulkan 1.2.131.2, which is latest at the time I write this. spirv.hpp11
is still where it was before:
from vookoo.
https://github.com/KhronosGroup/SPIRV-Headers/tree/master/include/spirv
from vookoo.
For me spirv.hpp11
in include/vulkan
and blabla/spirv/unified1
is exactly same.
I see it might be not the case for your OS/distribution.
I haven't been able to find any CMake file examples how to deal with finding relative path to spir-v/unified1
in a cross-platform way. For you it's just /usr/include
, but I'm not sure it's uniform for other Linux distributions.
from vookoo.
I've made the spirv headers optional for now but did observe that the package glslang-dev on debian contains a SPIRV directory.
from vookoo.
I would be remiss if I didn't mention the excellent Vulkano crate in the Rust ecosystem.
https://github.com/vulkano-rs/vulkano
from vookoo.
For me
spirv.hpp11
ininclude/vulkan
andblabla/spirv/unified1
is exactly same.
I see it might be not the case for your OS/distribution.I haven't been able to find any CMake file examples how to deal with finding relative path to
spir-v/unified1
in a cross-platform way. For you it's just/usr/include
, but I'm not sure it's uniform for other Linux distributions.
The MacOS X distribution of Vulkan/MoltenVK does not include the spirv includes. So Andy's work to make them optional have made it possible for me to easily port Vookoo to Mac OS. The README.md of Khronos SPIR-V headers says:
Headers are provided in the include directory, with up-to-date headers in the unified1 subdirectory. Older headers are provided according to their version.
So it seems that the path spirv/unified
path is the intended standard path.
from vookoo.
While making the spirv headers optional has made this less of a problem, we should investigate restoring them once we have a definitive location and package list.
I'm going to close this for now.
from vookoo.
I will look at this and try to address @lhog comment on how to find it. Perhaps trying to find the include from a series of possible paths and turning on/off a flag to indicate whether they were found would do the job. Then any example that require them should be removed from the build list.
from vookoo.
Related Issues (20)
- using Vulkan-Hpp update to 1.1.85 miss vk::SurfaceKHRDeleter change HOT 2
- Should it be Break here? vku_framework.hpp:init function HOT 2
- Multisampling option HOT 2
- CMake error: target dependency added via `target_include_directories` HOT 8
- Allow running on Mac OS X with MoltenVK HOT 4
- Put glfw under subrepo HOT 8
- uniform example (example 03) causes Vulkan layer to report problem. HOT 8
- Add an 'install' capability for Vookoo. HOT 2
- Handle window resizing HOT 7
- Add Shader Specialization Constant capability. HOT 3
- Make the vku::framework and vku::Window more flexible HOT 7
- VK_LAYER_LUNARG_standard_validation has been removed in Vulkan version 1.2.135.0 HOT 2
- Vookoo organisation HOT 4
- changes for you, reformed Framework and Window a little bit, adds functionality to PipelineMaker HOT 1
- Return type mismatch in [Compute]PipelineMaker HOT 1
- Structured Binding compile error on createComputePipelineUnique
- Your code is building fine on MSYS2 MINGW64 HOT 1
- Remove `std::aligned_union`
- Vookoo will not run on Mac with Vulkan 1.3.216. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vookoo.