Giter VIP home page Giter VIP logo

Comments (6)

oscarbg avatar oscarbg commented on July 21, 2024

also please update SPIR-V Cross also up to KhronosGroup/SPIRV-Cross@15a941c
this fixes a vkquake shader error with same name used in variable and function..

from moltenvk.

karl-lunarg avatar karl-lunarg commented on July 21, 2024

Bump

from moltenvk.

karl-lunarg avatar karl-lunarg commented on July 21, 2024

The "workaround" for this is to fix the SPIRV-Tools file utils/generate_grammar_tables.py. At SPIRV-Tools @ 1acce99, this file has a mixture of tabs and spaces, which Python 3 does not tolerate. This problem is fixed with a later revision of SPIRV-Tools, but this repo points at an earlier version.

To work around the problem with this revision, convert the tabs to spaces in this file.

from moltenvk.

irobertmanley avatar irobertmanley commented on July 21, 2024

Confirmed Karl. Thanks.

from moltenvk.

billhollings avatar billhollings commented on July 21, 2024

@karl-lunarg

PR #98 changes the way that external libraries are fetched and built, and should fix this issue.

The glslang version is now derived from V-LVL...and SPRIV-Tools and SPIRV-Headers are now fetched by glslang

In addition...when MoltenVk is being built as a component of V-LVL, the fetchDependencies script can be called with a -sdk argument that will cause it to symlink to the V-LVL and glslang directories within the parent V-LVL.

The Vulkan header files used by MoltenVK are now derived from those in V-LVL too.

Please verify with the latest version of MoltenVK.

@oscarbg

SPIRV-Cross has been updated in PR #98 too.

from moltenvk.

karl-lunarg avatar karl-lunarg commented on July 21, 2024

I'll verify on March 16th.

I may have some suggestions for an alternative to the -sdk argument. One wouldn't use this only for SDK construction. Rather, it would be used anytime someone was building V-LVL, whether it was for an SDK or not. In any case, I'll make a PR if I see the need.

from moltenvk.

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.