Coder Social home page Coder Social logo

Comments (13)

andy-thomason avatar andy-thomason commented on June 25, 2024 1

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.

FunMiles avatar FunMiles commented on June 25, 2024

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.

lhog avatar lhog commented on June 25, 2024

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.

andy-thomason avatar andy-thomason commented on June 25, 2024

If you want to make PRs, I'll be happy to accept them.

from vookoo.

andy-thomason avatar andy-thomason commented on June 25, 2024

The motivation for Vookoo came from the need to make high framerate molecular simulators like https://github.com/andy-thomason/moovoo

from vookoo.

lhog avatar lhog commented on June 25, 2024

@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:
image

from vookoo.

Steve132 avatar Steve132 commented on June 25, 2024

https://github.com/KhronosGroup/SPIRV-Headers/tree/master/include/spirv

from vookoo.

lhog avatar lhog commented on June 25, 2024

For me spirv.hpp11 in include/vulkan and blabla/spirv/unified1 is exactly same.
image
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.

andy-thomason avatar andy-thomason commented on June 25, 2024

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.

andy-thomason avatar andy-thomason commented on June 25, 2024

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.

FunMiles avatar FunMiles commented on June 25, 2024

For me spirv.hpp11 in include/vulkan and blabla/spirv/unified1 is exactly same.
image
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.

andy-thomason avatar andy-thomason commented on June 25, 2024

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.

FunMiles avatar FunMiles commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.