Page MenuHomeSolus

Update libplacebo to 1.29.1
ClosedPublic

Authored by aleksvor on Dec 28 2019, 2:03 PM.
Tags
None
Referenced Files
F11015987: D7913.diff
Sat, Aug 5, 3:49 PM
F10960406: D7913.diff
Tue, Jul 18, 11:16 AM
F10896088: D7913.id19279.diff
Jul 1 2023, 9:48 PM
F10896081: D7913.diff
Jul 1 2023, 9:45 PM
F10878348: D7913.id18978.diff
Jun 21 2023, 7:50 AM
F10873893: D7913.id19279.diff
Jun 19 2023, 7:46 PM
F10870411: D7913.diff
Jun 18 2023, 9:10 AM
F10807329: D7913.id19279.diff
May 30 2023, 4:35 AM
Subscribers

Details

Summary

1.29.0 changelog:
Additions:

  • add a new field pl_fmt.internal_size, which can differ from texel_size for emulated formats
  • add 16f / 64f texture formats with host-emulated 32f representation
  • expose a pl_vulkan_choose_device helper function
  • add a mechanism for allowing the user to explicitly resize suboptimal swapchains rather than having libplacebo take care of it

Changes:

  • make pl_gpu log and error gracefully on illegal parameters rather than doing undefined behavior (i.e. aborting)
  • creating a host_mapped buffer now requires PL_GPU_CAP_MAPPED_BUFFERS
  • drop priv fields from public structs

Fixes and performance improvements:

  • make libplacebo slightly less log spammy in general
  • skip the creation/use of semaphores for single-queue usage
  • fix several bugs related to swapchain recreation and image acquisition
  • fix creation of non-renderable but storable vulkan textures
  • fix several bugs related to emulated texture downloads
  • fix pl_fmt capabilities for some emulated formats
  • fix stride/alignment of std430 vectors/matrices
  • use push constants more aggressively, whenever possible
  • slightly improve accurate of BT.2100 matrices
  • fix overzealous rotation of vulkan queues
  • fix dangling validation layer suppression in rare cases
  • fix possible swapchain deadlock on VK_SUBOPTIMAL_KHR
  • handle VK_SUBOPTIMAL_KHR more gracefully / efficiently

1.29.1 changelog:
Fixes:

  • fix a segfault in the test framework on platforms without vulkan
  • fix error message spam when rendering to minimized/hidden windows
  • hackily fix compilation on certain glslang versions
Test Plan

Built mpv 0.31.0 against it.

Diff Detail

Repository
R4851 libplacebo
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

aleksvor added a child revision: D7914: Update mpv to 0.31.0.
This revision is now accepted and ready to land.Jan 14 2020, 1:55 AM
This revision was automatically updated to reflect the committed changes.