Page MenuHomeSolus

Update libplacebo to 2.72.2

Authored by aleksvor on Tue, Nov 10, 9:15 AM.




  • Bug fixes:
    • Fix linking issue with some installations of glslang >= 11.0.0.
    • Compatibility with glslang >= 8.13.3743.
    • Compatibility with new glslang semantic versioning scheme.
    • Fix broken shaders on some versions of GLES by defaulting to 32-bit precision for floating point math.
    • Fix the extension check for glInvalidateTexImage.
    • Fix pl_tex_create on older GLES versions.
    • Fix OpenGL logging thread safety.
    • Fix undefined memcmp() in pl_shader_av1_grain.
    • Fix pl_render_target.repr being ignored by pl_render_image.
    • Fix 3DLUT generation code (generated corrupt LUTs in all cases).
    • Fix symbol visibility on some versions of GCC.
    • Fix potential overflow in BT.2390 shader.
    • Properly restrict pl_shader_sample_polar to GLSL >= 130.
    • Fix Vulkan function loading of promoted core functions.
  • Other changes:
    • Tiny performance gain in 3DLUT generation.
    • pl_opengl_create now logs GL_EXTENSIONS.
    • Log some additional VkResult enum members.
    • Improve several Vulkan log messages by using friendly names of enums.
    • Add a copy of the config.h variables to the libplacebo.pc file.
Test Plan
  1. Tested Vulkan renderer in mpv.
  2. Played back HDR video in VLC and checked HDR-to-SDR gamut conversion.

Diff Detail

R4851 libplacebo
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Tue, Nov 10, 9:15 AM
aleksvor requested review of this revision.Tue, Nov 10, 9:15 AM
aleksvor updated this revision to Diff 23924.Tue, Nov 10, 9:36 AM

Bump to 2.72.2 - glslang linkage fix was upstreamed.
Also modernized package description, because now libplacebo also supports OpenGL in addition to Vulkan.

aleksvor retitled this revision from Update libplacebo to 2.72.1 to Update libplacebo to 2.72.2.Tue, Nov 10, 9:37 AM
aleksvor edited the summary of this revision. (Show Details)Tue, Nov 10, 11:14 AM
JoshStrobl accepted this revision.Tue, Nov 10, 8:17 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Tue, Nov 10, 8:17 PM
This revision was automatically updated to reflect the committed changes.