Merge pull request #108727 from baloo/baloo/libplacebo/glsl-import
libplacebo: fixup glslang headers path
The build broke after the latest glslang update:
31bd59648f.
This commit is contained in:
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "libplacebo";
|
pname = "libplacebo";
|
||||||
version = "2.72.2";
|
version = "2.72.2";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./glsl-import.patch
|
||||||
|
];
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "code.videolan.org";
|
domain = "code.videolan.org";
|
||||||
owner = "videolan";
|
owner = "videolan";
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
Reference in New Issue
Block a user