libplacebo: shaderc vs glslang
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
I noticed this when debugging a libplacebo build issue.
After meson ran, glslang was disabled but it's listed as Recommended in
the book and I had it installed. It seems that libplacebo prefers
shaderc over glslang and will use that if available.
From src/glsl/meson.build:
if glslang_req.auto() and shaderc.found()
# we only need one or the other, and shaderc is preferred
message('Skipping `glslang` because `shaderc` is available')
shaderc isn't mentioned in libplacebo in the book. If shaderc is
prefered upstream it seems more logical to make that Recommended instead
of glslang.
Note: I install the full shaderc package, not just the binary.
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page