1. 13 Sep, 2019 2 commits
    • Duncan Hopkins's avatar
      zink: respect ubo buffer alignment requirement · 30205883
      Duncan Hopkins authored
      The driver can report a minimum alignment for UBOs, and that can be
      larger than 64, which we've currently been using. Let's play ball, and
      use the reported value instead.
    • Duncan Hopkins's avatar
      zink: fix line-width calculation · a41639dd
      Duncan Hopkins authored
      There's two things that goes wrong in this code on some drivers:
      1. Rounding off the line-width to granularity can push it outside the
         legal range.
      2. A granularity of 0.0 results in NaN, because we divide by zero.
      So let's make this code a bit more robust.
  2. 25 Jul, 2019 38 commits