libplacebo: remove redundant glslang dependency
src/glsl/meson.build says: "we only need one or the other, and shaderc is preferred". Reduces fragility due to glslang updates.
This commit is contained in:
parent
e75ed2f09f
commit
aca0d40720
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
|||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
, shaderc
|
||||
, glslang
|
||||
, lcms2
|
||||
, libepoxy
|
||||
, libGL
|
||||
|
@ -38,7 +37,6 @@ stdenv.mkDerivation rec {
|
|||
vulkan-headers
|
||||
vulkan-loader
|
||||
shaderc
|
||||
glslang
|
||||
lcms2
|
||||
libepoxy
|
||||
libGL
|
||||
|
@ -50,6 +48,7 @@ stdenv.mkDerivation rec {
|
|||
"-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
|
||||
"-Ddemos=false" # Don't build and install the demo programs
|
||||
"-Dd3d11=disabled" # Disable the Direct3D 11 based renderer
|
||||
"-Dglslang=disabled" # rely on shaderc for GLSL compilation instead
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"-Dunwind=disabled" # libplacebo doesn’t build with `darwin.libunwind`
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue