1. 18 Nov, 2020 1 commit
  2. 22 Sep, 2020 1 commit
  3. 18 Aug, 2020 2 commits
  4. 10 May, 2017 1 commit
    • Marek Olšák's avatar
      gallium: remove pipe_index_buffer and set_index_buffer · 330d0607
      Marek Olšák authored
      pipe_draw_info::indexed is replaced with index_size. index_size == 0 means
      non-indexed.
      
      Instead of pipe_index_buffer::offset, pipe_draw_info::start is used.
      For indexed indirect draws, pipe_draw_info::start is added to the indirect
      start. This is the only case when "start" affects indirect draws.
      
      pipe_draw_info::index is a union. Use either index::resource or
      index::user depending on the value of pipe_draw_info::has_user_indices.
      
      v2: fixes for nine, svga
      330d0607
  5. 04 Apr, 2017 1 commit
  6. 14 Feb, 2017 1 commit
  7. 02 Jan, 2016 3 commits
  8. 18 Apr, 2015 1 commit
  9. 19 Mar, 2015 1 commit
    • Dave Airlie's avatar
      u_primconvert: add primitive restart support · 9d97cd2e
      Dave Airlie authored
      This add primitive restart support to the prim conversion.
      
      This involves changing the API for the translate functions
      as we need to pass the prim restart index and the original
      number of indices into the translate functions.
      
      primitive restart is support for quads, quad strips
      and polygons.
      
      This deal with the case where the actual number of output
      primitives is less than the initially calculated number,
      by filling the rest of the output primitives with the restart
      index, the other option is to reduce the output prim number,
      but that will make the generator code a bit messier.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      9d97cd2e
  10. 31 Dec, 2014 1 commit
  11. 05 Dec, 2014 4 commits
  12. 02 Sep, 2014 2 commits
  13. 09 Aug, 2014 1 commit
    • Eric Anholt's avatar
      u_primconvert: Copy min/max_index from the original primitive. · 961715ea
      Eric Anholt authored
      These values are supposed to be the minimum/maximum index values used to
      read from the vertex buffers.  This code either copies index values out of
      the old IB (so, same min/max as the original draw call), or generates a
      new IB (using index values between the start and the start + count of the
      old array draw info, which just happens to be what min/max_index are set
      to by st_draw.c).
      
      We were incorrectly setting the max_index in the
      converting-from-glDrawArrays case to the start vertex plus the number of
      vertices generated in the new IB, which broke QUADS primitive conversion
      on VC4 (where max_index really has to be correct, or the kernel might
      reject your draw call due to buffer overflow).
      
      Reviewed-by: Rob Clark <robclark@freedesktop.org> (from verbal description
                   of the patch)
      961715ea
  14. 03 Feb, 2014 1 commit
  15. 29 Oct, 2013 1 commit