1. 04 Feb, 2014 1 commit
  2. 23 Jan, 2014 1 commit
  3. 17 Jan, 2014 1 commit
    • Jose Fonseca's avatar
      s/Tungsten Graphics/VMware/ · 87712850
      Jose Fonseca authored
      Tungsten Graphics Inc. was acquired by VMware Inc. in 2008.  Leaving the
      old copyright name is creating unnecessary confusion, hence this change.
      
      This was the sed script I used:
      
          $ cat tg2vmw.sed
          # Run as:
          #
          #   git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
          #
      
          # Rename copyrights
          s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
          /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
          s/TUNGSTEN GRAPHICS/VMWARE/g
      
          # Rename emails
          s/alanh@tungstengraphics.com/alanh@vmware.com/
          s/jens@tungstengraphics.com/jowen@vmware.com/g
          s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
          s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
          s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
          s/michel@tungstengraphics.com/daenzer@vmware.com/g
          s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
          s/zack@tungstengraphics.com/zackr@vmware.com/
      
          # Remove dead links
          s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g
      
          # C string src/gallium/state_trackers/vega/api_misc.c
          s/"Tungsten Graphics, Inc"/"VMware, Inc"/
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      87712850
  4. 12 Dec, 2013 1 commit
    • Marek Olšák's avatar
      gallium: allow choosing which colorbuffers to clear · 164dc621
      Marek Olšák authored
      Required for glClearBuffer, which only clears one colorbuffer attachment.
      
      Example:
         If the first colorbuffer is float and the second one is int:
            pipe->clear(pipe, PIPE_CLEAR_COLOR0, float_clear_color, ...);
            pipe->clear(pipe, PIPE_CLEAR_COLOR1, int_clear_color, ...);
      
      This doesn't need any driver changes yet, because all drivers just use:
        if (flags & PIPE_CLEAR_COLOR) ..
      
      The drivers which support GL 3.0 will have to implement it properly though.
      164dc621
  5. 03 Dec, 2013 1 commit
  6. 28 Nov, 2013 1 commit
  7. 25 Oct, 2013 1 commit
  8. 06 Sep, 2013 1 commit
  9. 22 Jul, 2013 1 commit
    • Tom Stellard's avatar
      gallium: Add PIPE_CAP_ENDIANNESS · 4e90bc9a
      Tom Stellard authored
      Cc: mesa-stable@lists.freedesktop.org
      [ Francisco Jerez: Fix "PIPE_ENDIAN_SMALL" in the documentation,
        define PIPE_ENDIAN_NATIVE. ]
      4e90bc9a
  10. 02 Jul, 2013 1 commit
  11. 25 May, 2013 1 commit
  12. 11 May, 2013 1 commit
  13. 18 Apr, 2013 1 commit
    • Christoph Bumiller's avatar
      st/mesa: optionally apply texture swizzle to border color v2 · 729abfd0
      Christoph Bumiller authored
      This is the only sane solution for nv50 and nvc0 (really, trust me),
      but since on other hardware the border colour is tightly coupled with
      texture state they'd have to undo the swizzle, so I've added a cap.
      
      The dependency of update_sampler on the texture updates was
      introduced to avoid doing the apply_depthmode to the swizzle twice.
      
      v2: Moved swizzling helper to u_format.c, extended the CAP to
      provide more accurate information.
      729abfd0
  14. 03 Apr, 2013 1 commit
  15. 26 Mar, 2013 1 commit
  16. 23 Mar, 2013 1 commit
  17. 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
  18. 04 Feb, 2013 1 commit
    • Brian Paul's avatar
      gallium: add SQRT shader opcode · d276a40e
      Brian Paul authored
      The glsl-to-tgsi translater will emit SQRT to implement GLSL's sqrt()
      and distance() functions if the PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED
      query says it's supported by the driver.
      
      Otherwise, sqrt(x) is implemented with x*rsq(x).  The problem with
      this is sqrt(0) must be handled specially because rsq(0) might be
      Inf/NaN/undefined (and then 0*rsq(0) is Inf/Nan/undefined).  In the
      glsl-to-tgsi code we use an extra CMP to check if x is zero and then
      replace the result of x*rsq(x) with zero.
      
      In the end, this makes sqrt() generate much more reasonable code for
      drivers that can do square roots.
      
      Note that many of piglit's generated shader tests use the GLSL
      distance() function.
      d276a40e
  19. 30 Jan, 2013 1 commit
  20. 15 Jan, 2013 1 commit
  21. 04 Jan, 2013 1 commit
  22. 20 Dec, 2012 1 commit
  23. 08 Dec, 2012 1 commit
  24. 09 Nov, 2012 1 commit
    • Dave Airlie's avatar
      gallium: add defines/shader opcode for texture cube map array · c4427cef
      Dave Airlie authored
      This just adds the texture target and capability along
      with 3 new opcodes required to support this extension.
      
      As this extension requires some texture opcodes with samp + 5 args,
      we need to use another src register, this is only required
      for TEX, TXL and TXB opcodes to implement this spec.
      
      TEX2 is required for shadow cube map arrays
      TXL2 is required for cube map array sampler + explicit lod
      TXB2 is required for cube map array sampler + lod bias
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      c4427cef
  25. 31 Oct, 2012 1 commit
  26. 11 Oct, 2012 1 commit
    • Marek Olšák's avatar
      gallium: unify transfer functions · 369e4688
      Marek Olšák authored
      "get_transfer + transfer_map" becomes "transfer_map".
      "transfer_unmap + transfer_destroy" becomes "transfer_unmap".
      
      transfer_map must create and return the transfer object and transfer_unmap
      must destroy it.
      
      transfer_map is successful if the returned buffer pointer is not NULL.
      If transfer_map fails, the pointer to the transfer object remains unchanged
      (i.e. doesn't have to be NULL).
      Acked-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      369e4688
  27. 30 Sep, 2012 1 commit
  28. 25 Sep, 2012 1 commit
  29. 04 Aug, 2012 1 commit
  30. 10 Jul, 2012 1 commit
  31. 19 Jun, 2012 1 commit
  32. 01 Jun, 2012 2 commits
  33. 12 May, 2012 1 commit
  34. 11 May, 2012 3 commits
  35. 29 Apr, 2012 2 commits
  36. 23 Apr, 2012 1 commit