1. 09 Sep, 2021 1 commit
  2. 28 Sep, 2020 1 commit
  3. 07 Jul, 2020 1 commit
  4. 13 May, 2020 1 commit
  5. 01 May, 2018 1 commit
  6. 25 Jun, 2016 1 commit
  7. 17 Jan, 2014 1 commit
    • Roland Scheidegger's avatar
      gallium: add bits for clipping points as tris (d3d-style) · 4b9bcf31
      Roland Scheidegger authored
      
      
      OpenGL does whole-point clipping, that is a large point is either fully
      clipped or fully unclipped (the latter means it may extend beyond the
      viewport as long as the center is inside the viewport). d3d9 (d3d10 has
      no large points) however requires points to be clipped after they are
      expanded to a rectangle. (Note some IHVs are known to ignore GL rules at
      least with some hw/drivers.)
      Hence add a rasterizer bit indicating which way points should be clipped
      (some drivers probably will always ignore this), and add the draw interaction
      this requires. Drivers wanting to support this and using draw must support
      large points on their own as draw doesn't implement vp clipping on the
      expanded points (it potentially could but the complexity doesn't seem
      warranted), and the driver needs to do viewport scissoring on such points.
      
      Conflicts:
      
      	src/gallium/drivers/llvmpipe/lp_context.c
      	src/gallium/drivers/llvmpipe/lp_state_derived.c
      Reviewed-by: Jose Fonseca's avatarJose Fonseca <jfonseca@vmware.com>
      4b9bcf31
  8. 23 Apr, 2013 1 commit
    • Jose Fonseca's avatar
      gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center. · 2737abb4
      Jose Fonseca authored
      
      
      Squashed commit of the following:
      
      commit 04c5fa2cbb8e89d6f2fa5a75af1cca03b1f6b852
      Author: José Fonseca <jfonseca@vmware.com>
      Date:   Tue Apr 23 17:37:18 2013 +0100
      
          gallium: s/lower_left_origin/bottom_edge_rule/
      
      commit 4dff4f64fa83b9737def136fffd161d55e4f1722
      Author: José Fonseca <jfonseca@vmware.com>
      Date:   Tue Apr 23 17:35:04 2013 +0100
      
          gallium: Move diagram to docs.
      
      commit 442a63012c8c3c3797f45e03f2ca20ad5f399832
      Author: James Benton <jbenton@vmware.com>
      Date:   Fri May 11 17:50:55 2012 +0100
      
          gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center.
      
          This change is necessary to achieve correct results when using OpenGL
          FBOs.
      Reviewed-by: Marek Olšák's avatarMarek Olšák <maraeo@gmail.com>
      2737abb4
  9. 22 Apr, 2013 1 commit
  10. 20 Mar, 2013 1 commit
    • Christoph Bumiller's avatar
      gallium: add TGSI_SEMANTIC_TEXCOORD,PCOORD v3 · 8acaf862
      Christoph Bumiller authored
      This makes it possible to identify gl_TexCoord and gl_PointCoord
      for drivers where sprite coordinate replacement is restricted.
      
      The new PIPE_CAP_TGSI_TEXCOORD decides whether these varyings
      should be hidden behind the GENERIC semantic or not.
      
      With this patch only nvc0 and nv30 will request that they be used.
      
      v2: introduce a CAP so other drivers don't have to bother with
      the new semantic
      
      v3: adapt to introduction gl_varying_slot enum
      8acaf862
  11. 25 May, 2012 1 commit
  12. 09 Feb, 2012 1 commit
  13. 09 Jan, 2012 1 commit
    • Marek Olšák's avatar
      Squash-merge branch 'gallium-clip-state' · dc4c821f
      Marek Olšák authored
      Conflicts:
      	src/gallium/auxiliary/tgsi/tgsi_strings.c
      	src/mesa/state_tracker/st_atom_clip.c
      
      commit d919791f
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 17:59:22 2012 +0100
      
          d3d1x: adapt to new clip state
      
      commit cfec82bc
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 14:16:51 2012 +0100
      
          gallium/docs: update for clip state changes
      
      commit c02bfeb8
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 14:21:43 2012 +0100
      
          tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS
      
      commit d4e0a785
      
      
      Author: Brian Paul <brianp@vmware.com>
      Date:   Thu Jan 5 08:30:00 2012 -0700
      
          tgsi: consolidate TGSI string arrays in new tgsi_strings.h
      
          There was some duplication between the tgsi_dump.c and tgsi_text.c
          files.  Also use some static assertions to help catch errors when
          adding new TGSI values.
      
          v2: put strings in tgsi_strings.c file instead of the .h file.
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      
      commit c28584ce
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 12:48:09 2012 +0100
      
          gallium: extend user_clip_plane_enable to apply to clip distances
      
      commit f1d5016c
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Fri Jan 6 02:39:09 2012 +0100
      
          nvfx: adapt to new clip state
      
      commit 6f6fa1c2
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Fri Jan 6 01:41:39 2012 +0100
      
          st/mesa: fix DrawPixels with GL_DEPTH_CLAMP
      
      commit c86ad730
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Tue Jan 3 23:51:30 2012 +0100
      
          nv50: adapt to new clip state
      
      commit 3a8ae6ac
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Tue Jan 3 23:32:36 2012 +0100
      
          nvc0: adapt to new clip state
      
      commit 6243a824
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Thu Dec 29 01:32:51 2011 +0100
      
          draw: initalize pt.user.planes in draw_init
      
          This fixes a crash in glean/fpexceptions.
      
      commit e3056524
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Mon Dec 26 06:26:55 2011 +0100
      
          svga: adapt to new clip state
      
      commit c5bfa8b3
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 14:11:51 2011 +0100
      
          r600g: adapt to new clip state
      
      commit f1189090
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 14:10:26 2011 +0100
      
          r300g: adapt to new clip state
      
      commit e3746532
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 12:39:16 2011 +0100
      
          draw: adapt to new clip state
      
          This adds a regression in the LLVM clipping path. Can anybody see anything
          wrong with the code? It works for every other case, just glean/fpexceptions
          crashes when doing the "Infinite clip plane test".
      
      commit b474d2b1
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 13:14:59 2011 +0100
      
          u_blitter: don't save/set/restore clip state
      
      commit 9dd240ea
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 13:11:56 2011 +0100
      
          gallium: don't cso_save/set/restore clip state
      
          The enable bits are in the rasterizer state.
      
      commit a4f70311
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 12:58:55 2011 +0100
      
          gallium: default depth_clip to 1
      
          depth_clip = !depth_clamp
      
      commit fe21147a
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Mon Dec 26 06:14:19 2011 +0100
      
          trace,util: update state logging to new clip state
      
          Also dump the other missing flags.
      
      commit 2a3b96e8
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 10:43:43 2011 +0100
      
          st/mesa: adapt to new clip state
      
      commit b7b656a4
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sat Dec 17 15:45:19 2011 +0100
      
          gallium: move state enable bits from clip_state to rasterizer_state
      dc4c821f
  14. 28 Sep, 2011 1 commit
  15. 29 Mar, 2011 1 commit
    • Luca Barbieri's avatar
      gallium: implement clamping controls (ARB_color_buffer_float) · 47e3896d
      Luca Barbieri authored and Marek Olšák's avatar Marek Olšák committed
      BTW this changes the gallium interface.
      Some rather cosmetic changes by Marek.
      
      Squashed commit of the following:
      
      commit 513b37d4
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Thu Aug 26 18:17:54 2010 +0200
      
          mesa/st: respect fragment clamping in st_DrawPixels
      
      commit 546a31e4
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Thu Aug 26 18:17:28 2010 +0200
      
          mesa/st: support fragment and vertex color clamping
      
      commit c406514a
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Tue Aug 24 21:56:37 2010 +0200
      
          mesa/st: expose ARB_color_buffer_float if unclamping is supported
      
      commit d0c5ea11
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Thu Aug 26 17:53:41 2010 +0200
      
          mesa/st: use unclamped colors
      
          This assumes that Gallium is to be interpreted as given drivers the
          responsibility to clamp these colors if necessary.
      
      commit aef5c3c6
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Thu Aug 26 18:12:34 2010 +0200
      
          mesa, mesa/st: handle read color clamping properly
      
          We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
          the operation mandates it. (see the removed XXX comment. -Marek)
      
          TODO: did I get the set of operations mandating it right?
      
      commit 76bdfcfe
      Author: Luca Barbieri <luca@luca-barbieri.com>
      Date:   Thu Aug 26 18:18:25 2010 +0200
      
          gallium: add color clamping to the interface
      47e3896d
  16. 18 Sep, 2010 1 commit
  17. 05 Aug, 2010 1 commit
  18. 21 May, 2010 1 commit
  19. 29 Mar, 2010 1 commit
  20. 23 Mar, 2010 1 commit
  21. 22 Feb, 2010 1 commit
  22. 04 Feb, 2010 1 commit
  23. 03 Feb, 2010 2 commits
    • Roland Scheidegger's avatar
      docs: fix point sprite documentation · c2b85e33
      Roland Scheidegger authored
      c2b85e33
    • Roland Scheidegger's avatar
      gallium: clean up point sprite rasterizer state · 4a4daa75
      Roland Scheidegger authored
      Don't need sprite coord origin per coord.
      Also, don't need separate sprite enable bit - if all coords have it diabled,
      then there are no point sprites (technically, there's a distinction in pre-GL3,
      but it only differs in having more leniency in clamping to max size, something
      the state tracker would need to handle and the hardware won't bother anyway).
      Also, use packed field for the per-coord enables.
      All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
      4a4daa75
  24. 19 Jan, 2010 3 commits
  25. 12 Jan, 2010 1 commit
  26. 06 Jan, 2010 1 commit
  27. 22 Dec, 2009 1 commit
  28. 21 Dec, 2009 2 commits
  29. 20 Dec, 2009 1 commit