History log of /external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bef196c7929606bb8c7e9c06fe83a90fc0d95f09 10-Aug-2012 Brian Paul <brianp@vmware.com> draw: move tgsi-related state into a tgsi sub-struct

To better organize things a bit.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
1865f341d8f45b389061fc08d2da90b7aa8a6099 06-Jan-2012 Dave Airlie <airlied@redhat.com> draw: clipdistance support (v2)

Add support for using the clipdistance instead of clip plane.

Passes all piglit clipdistance tests.

v2: fixup some comments from Brian in review.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
40c5987ed84f9f0b8bb1f707bb13c1aafc39330a 04-Jan-2012 Dave Airlie <airlied@redhat.com> draw/softpipe: add clip vertex support. (v2)

softpipe always clipped using the position vector, however for unclipped
vertices it stored the position in window coordinates, however when position
and clipping are separated, we need to store the clip-space position and
the clip-space vertex clip, so we can interpolate both separately.

This means we have to take the clip space position and store it to use later.

This allows softpipe to pass all the clip-vertex piglit tests.

v2: fix llvm draw regression, the structure being passed into llvm needed
updating, remove some hardcoded ints that should have been enums while there.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
9e29cdbe95810de8658dfd1cabf1a7d87264c2f7 09-Nov-2011 José Fonseca <jfonseca@vmware.com> draw: Handle failure to allocate aligned_constant_storage.

Also, actually update const_storage_size, therefore avoiding to
unnecessarily reallocate aligned_constant_storage every single time
draw_vs_set_constants() is called.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
4eb3225b38ce12cb34ab3d90804c9683bd7b4ed3 08-Nov-2011 José Fonseca <jose.r.fonseca@gmail.com> Remove tgsi_sse2.

tgsi_exec is simple. llvm is fast. tgsi_sse2 ends up being neither.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
5f996e2b1d09dad64c088ccabb1a4a53ebfb8102 16-Feb-2011 Luca Barbieri <luca@luca-barbieri.com> draw: implement vertex color clamping, and disable SSE and PPC paths

(some little changes by Marek Olšák)

Squashed commit of the following:

commit 737c0c6b7d591ac0fc969a7590e1691eeef0ce5e
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Fri Aug 27 02:13:57 2010 +0200

draw: disable SSE and PPC paths (use LLVM instead)

These paths don't support vertex clamping, and are anyway
obsoleted by LLVM.

If you want to re-enable them, add vertex clamping and test that it
works with the ARB_color_buffer_float piglit tests.

commit fed3486a7ca0683b403913604a26ee49a3ef48c7
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:27:38 2010 +0200

draw_llvm: respect vertex color clamp

commit ef0efe9f3d1d0f9b40ebab78940491d2154277a9
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:26:43 2010 +0200

draw: respect vertex clamping in interpreter path
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
b7e150605d402224cdd8fa3d186924bdee3c6c49 16-Dec-2010 Brian Paul <brianp@vmware.com> draw: s/varient/variant/
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
ba2cc3b8e6ad161181b67fd2575c6bc768584d23 29-Jul-2010 Brian Paul <brianp@vmware.com> gallium: implement bounds checking for constant buffers

Plumb the constant buffer sizes down into the tgsi interpreter where
we can do bounds checking. Optional debug code warns upon out-of-bounds
reading. Plus add a few other assertions in the TGSI interpreter.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
8ebfcf31eb905b7d47e520c04420620ae21bdf4e 26-Jun-2010 Zack Rusin <zackr@vmware.com> draw: limit the number of vertex shader variants kept around

we used to create and cache unltimited number of variant, this
change limits the number of variants kept around to a fixed number.
the change is based on a similar patch by Roland for llvmpipe fragment
shaders.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
d44c8ee568878899e4ce5d8e1d0fcf523aa62199 03-May-2010 José Fonseca <jfonseca@vmware.com> draw: Disable rtasm compilation when using LLVM.

Saves time and trouble.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
0e4f0e8725cd93fc1e51e4caa09aadf340add11a 28-Apr-2010 Brian Paul <brianp@vmware.com> draw: remove extra semicolons
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
1820d240cd0b517ca1d73f1e8e0a528ca8d5b092 22-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Convert some uses of get option to static
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
373f03efe70b9fb47dda9955d9c0437dae0edbff 20-Apr-2010 José Fonseca <jfonseca@vmware.com> draw: Remove draw_vs_llvm.c.

To silence some warnings.

Super-seeded by Zack's new llvm middle end.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
6536cdf1836a302d334f7380d1723e8f0bc396be 15-Feb-2010 Vinson Lee <vlee@vmware.com> draw: Add assert to check input of memcpy.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
7c5f255201f42303188137f56ea8acc030444f0e 25-Jan-2010 Michal Krol <michal@vmware.com> gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
9851644435f991a1a1bbb145333a97601627b37d 25-Jan-2010 Michal Krol <michal@vmware.com> gallium: Enable multiple constant buffers for vertex and geometry shaders.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
b96976cc7c74f601f60d90a23a099bb2605f2edb 15-Jan-2010 Michal Krol <michal@vmware.com> draw: Add missing header include.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
f7748d72b46465d807cf4209892d73af62485738 15-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> draw: Add GALLIUM_DUMP_VS environment variable.

Add GALLIUM_DUMP_VS to dump the vertex shader to the console like
GALLIUM_DUMP_FS in softpipe.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
a0127b6ced257919180ba3a1bf534b68d9c750be 14-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: more work for edgeflags changes

fixes, cleanups, etc.
not working yet
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
c202fe187cf7a08d60e23ce617a5820a8bc510fd 16-Jul-2009 Keith Whitwell <keith@tungstengraphics.com> gallium: reduce recursive include of tgsi_exec.h

A lot of draw code no longer needs to see this header.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
6175653d0bceedba1f599d27111bab14f312f134 16-Jul-2009 Keith Whitwell <keith@tungstengraphics.com> gallium: proper constructor and destructor for tgsi_exec_machine

Centralize the creation, initialization and destruction of this struct.
Use align_malloc instead of home-brew alternatives.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
2f24bc698412b4635422a52f9d7073ce7854dceb 30-Dec-2008 José Fonseca <jfonseca@vmware.com> draw: Avoid integer overflow converting pointers on 64bit archs.

Not really an error, as we only care for the lower 4 bits.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
b7da4c3dc199ee382bb9924ac86a3485deccc62d 22-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: PPC vertex shader support

Works, but dead code lingering, debug code present, etc.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
4f25420bdd834e81a3e22733304efc5261c2998a 25-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h

Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
cc31eecbcb90dabacabac3e6be7c01cfe3a7a2a6 02-Jul-2008 Michel Dänzer <michel@tungstengraphics.com> gallium: Allow draw module to work on non-x86 platforms again.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
2161b0fafcdc16703162dd489d2ec1e7114cce4c 12-Jun-2008 Keith Whitwell <keith@tungstengraphics.com> draw: don't assume vertex position is in data[0]
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
5b86ae60fe339ae0b813d16ec328a68ccb2b9514 29-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> draw: Fix MSVC warnings.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
bb2e13b9e82b68ec3b9fc56a4c35e7ead8fd138f 29-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: make sure constant buffer data is aligned before passing to aos.c
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
62628c4d3d497cbca73fde869c9069fa90e6453e 29-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: share machine
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
7c99d7fe60e7bb0b7cf103a851aeef4614278ca6 15-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: create specialized vs varients incorporating fetch & emit
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
2f0d1396e4c1626b3b1ac799bd29e86a9530369e 13-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: move some state into a new 'vs' area
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c
6c38c600ff1212699e2e8e0f2928cd9e69559ac5 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: rename draw_vertex_shader.c -> draw_vs.c
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.c