Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 639 Bytes

File metadata and controls

31 lines (21 loc) · 639 Bytes

Glslang

This is a set of tools to compile SPIR-V binary from GLSL and HLSL. Supports Swift Package Manager. For more details see also KhronosGroup/glslang.

Installation

dependencies: [
// ...
    .package(url: "https://github.com/AdaEngine/glslang", from: "main")
// ...
]

Also set -enable-experimental-cxx-interop to your executable target in swiftSettings like so:

.target(
    name: "MyApp",
    swiftSettings: [
        .unsafeFlags(["-enable-experimental-cxx-interop"])
    ]
)

In the end of the package set the cxxLanguageStandard to .cxx20.