Re: libplacebo: shaderc vs glslang
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/9/25 3:46 PM, Joe Locash ([email protected] via blfs-dev Mailing List) wrote: > 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. > Hi Joe, On my system it looks like glslang was enabled by default: libplacebo 7.351.0 Optional features d3d11 : NO dovi : YES gl-proc-addr: YES glslang : YES lcms : YES libdovi : NO opengl : YES shaderc : NO vk-proc-addr: YES vulkan : YES xxhash : NO I'm guessing this is because we're only installing the program rather than the full package. We might want to consider changing that in the future though... - Doug -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page