3
0
Fork 0
forked from mirrors/nixpkgs

libplacebo: fixup glslang headers path

See: https://github.com/NixOS/nixpkgs/issues/108723

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
Arthur Gautier 2021-01-07 22:26:58 +00:00
parent 372806018c
commit f44ed8abd4
2 changed files with 17 additions and 0 deletions

View file

@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
pname = "libplacebo";
version = "2.72.2";
patches = [
./glsl-import.patch
];
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";

View file

@ -0,0 +1,13 @@
diff --git a/src/glsl/glslang.cc b/src/glsl/glslang.cc
index f701acc..c64cbf5 100644
--- a/src/glsl/glslang.cc
+++ b/src/glsl/glslang.cc
@@ -26,7 +26,7 @@ extern "C" {
#include <glslang/Include/ResourceLimits.h>
#include <glslang/Public/ShaderLang.h>
-#include <SPIRV/GlslangToSpv.h>
+#include <glslang/SPIRV/GlslangToSpv.h>
#include "glslang.h"