Skip to content
  • Niklas Haas's avatar
    meson: work around yet more glslang braindeath · d3a25695
    Niklas Haas authored
    Simple work-around to https://github.com/KhronosGroup/glslang/issues/1959
    is to simply brute force `/usr/include/glslang` into our include path,
    that way the SPIRV includes will continue working as-is.
    
    (We also add a separate line to help with use cases like e.g. VLC where
    the location of the glslang headers are relative to the build prefix)
    
    We do it hackily by directly accessing the compiler flags because these
    directories may not necessarily exist, and meson doesn't like using
    `include_directories` with nonexistant paths.
    d3a25695