Skip to content
Snippets Groups Projects
  1. Oct 30, 2022
  2. Oct 26, 2022
    • Niklas Haas's avatar
      shaders/sampling: refactor pl_shader_sample_ortho · 1544b073
      Niklas Haas authored
      Investigating a bug with broken yuv422 scaling on a cropped texture made
      me conclude that this API is fundamentally broken. We cannot discard the
      unused component from inside this function without knowing what the
      source crop was. We need it to be less magic and to move responsibility
      onto the API user.
      
      Since this is a significant break in API, rename it to
      `pl_shader_sample_ortho2` and preserve the original name for backwards
      compatibility. Annoying, but necessary, because otherwise this regresses
      current users of `pl_shader_sample_ortho` (e.g. vs-placebo).
      v5.229.0
      1544b073
    • Niklas Haas's avatar
      vulkan: don't assume host ptr imports are host mappable · e36aa7a3
      Niklas Haas authored
      The logic in `vk_buf_flush` treates buffers imported from
      PL_HANDLE_HOST_PTR identically to `host_mapped` buffers, but this
      assumption is only true if we assume that the host pointers were
      imported to a host-visible memory type. This is not always the case.
      
      Relax the restriction to only require invalidating mapped memory if the
      memory is actually mapped.
      
      Fixes: https://github.com/haasn/libplacebo/issues/146
      e36aa7a3
    • Niklas Haas's avatar
      3rdparty/glad: update to v2.0.1 · e07f2235
      Niklas Haas authored
      Pulls in a bug fix for building on some platforms we transitively care
      about.
      e07f2235
  3. Oct 25, 2022
  4. Oct 24, 2022
  5. Oct 21, 2022
  6. Oct 20, 2022
  7. Oct 19, 2022
  8. Oct 18, 2022
  9. Oct 15, 2022
  10. Oct 14, 2022
    • Niklas Haas's avatar
      3rdparty: drop mako · 2caae2e8
      Niklas Haas authored
      No longer used, no need to bundle it.
      2caae2e8
    • Niklas Haas's avatar
      vulkan/utils_gen: switch from mako to jinja2 · 8ae448f9
      Niklas Haas authored
      Since jinja2 is a necessary dependency of glad2, which we depend on for
      OpenGL, it makes sense to re-use that to avoid pulling in *two* string
      templaters.
      
      Also, I think, vastly more likely to be pre-installed on the system in
      some fashion or another.
      8ae448f9
  11. Oct 13, 2022
  12. Oct 12, 2022
  13. Oct 11, 2022
Loading