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>
      bb5fc901
  2. 13 May, 2020 2 commits
  3. 28 Apr, 2020 1 commit
  4. 24 Jan, 2020 1 commit
  5. 17 Jan, 2020 1 commit
  6. 14 Dec, 2019 1 commit
  7. 13 Dec, 2019 1 commit
  8. 03 Dec, 2019 1 commit
  9. 14 Nov, 2019 1 commit
  10. 08 Nov, 2019 1 commit
  11. 29 Oct, 2019 1 commit
  12. 22 Aug, 2019 1 commit
  13. 06 Aug, 2019 1 commit
  14. 23 Jul, 2019 1 commit
  15. 19 Jul, 2019 1 commit
  16. 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>
      39e7fbf2
  17. 03 Jul, 2019 1 commit
  18. 05 Jun, 2019 1 commit
  19. 30 May, 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>
      a2d78344
  21. 16 May, 2019 1 commit
  22. 13 May, 2019 1 commit
  23. 15 Apr, 2019 1 commit
  24. 22 Feb, 2019 1 commit
  25. 15 Feb, 2019 1 commit
  26. 12 Feb, 2019 1 commit
  27. 07 Sep, 2018 2 commits
  28. 25 Aug, 2018 1 commit
    • Kenneth Graunke's avatar
      gallium: Split out PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE. · 12816088
      Kenneth Graunke authored
      Some hardware can do PIPE_TEX_WRAP_MIRROR_REPEAT but not
      PIPE_TEX_WRAP_MIRROR_CLAMP and PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER.
      
      Drivers for such hardware would like to advertise support for
      ARB_texture_mirror_clamp_to_edge but not EXT_texture_mirror_clamp.
      
      This commit adds a new PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE bit,
      changes the extension enable to be based on that, and enables it
      in all upstream drivers which supported PIPE_CAP_TEXTURE_MIRROR_CLAMP
      (so they continue supporting this mode).
      12816088
  29. 23 Aug, 2018 2 commits
  30. 07 Aug, 2018 1 commit
    • Emil Velikov's avatar
      swr: don't export swr_create_screen_internal · 54d84489
      Emil Velikov authored
      With earlier rework the user and provider of the symbol are within the
      same binary. Thus there's no point in exporting the function.
      
      Spotted while reviewing patch from Chuck, that nearly added another
      unneeded PUBLIC function.
      
      Cc: Chuck Atkins <chuck.atkins@kitware.com>
      Cc: Tim Rowley <timothy.o.rowley@intel.com>
      Fixes: f50aa214 "(swr: build driver proper separate from rasterizer")
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
      Tested-by: Chuck Atkins's avatarChuck Atkins <chuck.atkins@kitware.com>
      Reviewed-By: George Kyriazis <george.kyriazis@intel.com<mailto:george.kyriazis@intel.com>>
      Tested-by: Chuck Atkins <chuck.atkins@kitware.com<mailto:chuck.atkins@kitware.com>>
      54d84489
  31. 02 Aug, 2018 1 commit
  32. 31 Jul, 2018 2 commits
  33. 15 Jun, 2018 1 commit
  34. 30 May, 2018 1 commit
  35. 01 May, 2018 1 commit
  36. 29 Mar, 2018 1 commit