This release mainly introduces a variety of miscellaneous bug fixes, alongside two minor / maintenance changes.
Additions:
add pl_{opengl,vulkan,d3d11}_params.no_compute to suppress the use of
compute shaders
add pl_cache_{set,get}_file()
Changes:
libav vulkan interop now requires lavu 58.11.100+ and vulkan 1.2.175+
"sinc" filter preset radius dropped from 3 to 2
Fixes and performance enhancements:
fix compilation of fuzzer test
fix shader variable renaming loop
fix error when the same gpu descriptor is used twice in one shader
don't expose unsupported d3d11 formats
fix rendering with flipped planes and user shaders
fix rendering of textures with unusual channel order
don't apply sigmoidization to alpha channel
attach correctly normalized extension list to vulkan device creation
fix orthogonal scaling fast path leaking garbage pixels
some GLES 2.0 fixes
fix DCDM XYZ decoding into DCI-P3
fix build with glslang 15
fix compilation without nuklear
fix backwards compatibility with pl_render_params.skip_target_clearing
correctly output requested alpha mode
preserve alpha channel when blending subsampled formats
multiply plane scale even when not scaling
propagate correct plane format after plane merging
fix build with instrumentation enabled
fix bug where layout transitions happened too early in some cases
fix handling of promoted extension and function names
don't scale alpha when blending low bit depth YUV planes
fix build error with recent libavformat
fix plane channel order when merging planes
invalidate shader cache when GL version strings change
fix compute shader promotion for flipped outputs
fix upload of YUVA formats with reduced bit depths
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In case the demos PACKAGECONFIG is enabled, linking fails with
the following error:
| /usr/src/debug/libplacebo/7.349.0/demos/plplay.c:669:(.text.startup+0x90): undefined reference to `parse_args'
| collect2: error: ld returned 1 exit status
The implementation of the missing function is guarded erroneously by
an ifdef flag (HAVE_NUKLEAR, which is only true in case headers from the nuklear
library are present - but in this recipe they are not included).
This patch moves the implementation of this function outside of the ifdef to
avoid the build failure.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In case glslang PACKAGECONFIG is enabled, compilation fails with
a lot of errors about undefined references from the glslang namespace, e.g.
| /usr/src/debug/libplacebo/7.349.0/src/glsl/glslang.cc:79:(.text+0x160): undefined reference to `glslang::TShader::TShader(EShLanguage)'
This has been solved in the upstream project, and this change backports
the commit that fixes the meson.build file to find the correct libraries
during compilation.
Additionally, fix also the TMPDIR QA error that popped up after fixing
the above issue: remove the RECIPE_SYSROOT value from the generated
pkgconf file (and instead of referring to the libraries by absolute path,
just refer to them by name, as they are supposed to be present in the
standard library lookup path).
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>