1. 22 Jun, 2020 1 commit
    • Neil Roberts's avatar
      gallium: Add pipe cap for primitive restart with fixed index · bb5fc901
      Neil Roberts authored
      Adds PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX which is a subset of the
      primitive restart cap for when the hardware can only support the fixed
      indices specified in GLES.
      The switch statements were automatically modified with this command:
      find \( \( -name \*.cpp -o -name \*.c \) \! -type l \) \
       -exec sed -i -r \
       's/^(\s*case\s+PIPE_CAP_PRIMITIVE_RESTART)\s*:.*$/\0\n\1_FIXED_INDEX:/' \
       {} \;
      v2: Add a note in screen.rst
      Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
      Reviewed by: Erik Faye-Lund <erik.faye-lund@collabora.com>
      Part-of: <!5559>
  2. 16 Jun, 2020 1 commit
  3. 02 Jun, 2020 1 commit
  4. 13 May, 2020 1 commit
  5. 07 May, 2020 1 commit
  6. 16 Apr, 2020 1 commit
  7. 14 Nov, 2019 1 commit
  8. 24 Oct, 2019 1 commit
  9. 10 Oct, 2019 1 commit
  10. 26 Aug, 2019 1 commit
  11. 08 Aug, 2019 3 commits
  12. 01 Aug, 2019 1 commit
  13. 31 Jul, 2019 1 commit
  14. 23 Jul, 2019 1 commit
  15. 10 Jul, 2019 1 commit
    • Erik Faye-Lund 's avatar
      gallium: get rid of PIPE_CAP_SM3 · 39e7fbf2
      Erik Faye-Lund authored
      PIPE_CAP_SM3 has always been an odd one out of all our caps. While most
      other caps are fine-grained and single-purpose, this cap encode several
      features in one. And since OpenGL cares more about single features, it'd
      be nice to get rid of this one.
      As it turns, this is now relatively simple. We only really care about
      three features using this cap, and those already got their own caps. So
      we can remove it, and make sure all current drivers just give the same
      response to all of them.
      The only place we *really* care about SM3 is in nine, and there we can
      instead just re-construct the information based on the finer-grained
      caps. This avoids DX9 semantics from needlessly leaking into all of the
      drivers, most of who doesn't care a whole lot about DX9 specifically.
      Signed-off-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Acked-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
  16. 25 Jun, 2019 3 commits
  17. 20 Jun, 2019 8 commits
  18. 17 Jun, 2019 1 commit
  19. 06 Jun, 2019 1 commit
  20. 23 May, 2019 1 commit
    • Kenneth Graunke's avatar
      gallium: Change PIPE_CAP_TGSI_FS_FBFETCH bool to PIPE_CAP_FBFETCH count · a2d78344
      Kenneth Graunke authored
      TGSI's FBFETCH instruction currently only supports reading from a single
      render target, but NIR intrinsics can support multiple render targets.
      radeonsi can only support fetching from RT 0, but other drivers may be
      able to support fetching from any render target.
      To express this, this patch renames PIPE_CAP_TGSI_FS_FBFETCH to simply
      PIPE_CAP_FBFETCH, and converts it from a boolean "is FBFETCH supported?"
      to an integer number of render targets which can be fetched.
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
  21. 13 May, 2019 1 commit
  22. 17 Apr, 2019 1 commit
  23. 10 Apr, 2019 1 commit
  24. 09 Apr, 2019 2 commits
  25. 02 Apr, 2019 3 commits
  26. 29 Mar, 2019 1 commit
    • Gert Wollny's avatar
      virgl: Add a caps feature check version · a0edceb0
      Gert Wollny authored
      When we add new feature checks on the host side that is used to
      enable a cap conditionally that was enabled unconditionally before
      we might end up with a feature regression when a new mesa version
      is used with an old virglrenderer version that doesn't check for
      that cap.
      To work around this problem add a version id to the caps that corresponds
      to the features that are actually checked on the host and check that
      version too when enabling the cap.
      Fixes: 2ee197d6
          virgl: Enable mixed color FBO attachemnets only when the host supports it
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Reviewed-by: Pohsien Wang's avatarPohsien Wang <pwang@chromium.org>