1. 22 Jun, 2022 1 commit
  2. 18 Jun, 2022 1 commit
  3. 15 Jun, 2022 1 commit
  4. 10 Jun, 2022 2 commits
  5. 08 Jun, 2022 1 commit
    • Alyssa Rosenzweig's avatar
      mesa,gallium: Make point coord origin a CAP · e749f67f
      Alyssa Rosenzweig authored and Marge Bot's avatar Marge Bot committed
      
      
      When lower_wpos_pntc is used, the state tracker inserts code to
      transform gl_PointCoord.y according to a uniform, to account for
      API-requested point coordinate origin and framebuffer orientation. With
      the transformation, driver-supplied point coordinates are expected to
      have an upper left origin.
      
      If the hardware point coordinate supports (only) a lower left origin,
      the backend has to use lower_wpos_pntc and then lower *again* to flip
      back. This ends up transforming twice, which is wasteful:
      
         a = load point coord Y with lower left origin
         a' = 1.0 - a
         a'' = uniform_transform(a')
      
      However, lower_wpos_pntc is quite capable of transforming for a lower
      left origin too, it just needs to flip the transformation. Add a CAP
      specifying the point coordinate origin convention, rather than assuming
      upper-left. This simplifies the Asahi code greatly.
      Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
      Reviewed-by: Erik Faye-Lund's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Part-of: <!16829>
      e749f67f
  6. 07 Jun, 2022 5 commits
  7. 06 Jun, 2022 1 commit
  8. 04 Jun, 2022 1 commit
  9. 10 May, 2022 1 commit
  10. 05 May, 2022 1 commit
  11. 29 Apr, 2022 1 commit
  12. 21 Apr, 2022 1 commit
  13. 18 Apr, 2022 4 commits
  14. 23 Mar, 2022 3 commits
  15. 17 Mar, 2022 12 commits
  16. 08 Feb, 2022 1 commit
  17. 01 Feb, 2022 1 commit
  18. 18 Jan, 2022 1 commit
  19. 04 Jan, 2022 1 commit