34041968f883253de639f137a761340e84f82bb9 |
|
18-Jan-2017 |
Jose Fonseca <jfonseca@vmware.com> |
configure.ac: Revert recent HAVE_LLVM changes. This reverts changes 903eb09b5fb78d47d0f8a4bdf826a113ca2aff40..1a0aa468f354f0ee94dd383cd40ae915584624aa: Tobias Droste (5): configure.ac: Rename MESA_LLVM to FOUND_LLVM configure.ac: Only set LLVM_LIBS if LLVM is used configure.ac: Only define HAVE_LLVM if LLVM is used configure.ac: Set and use HAVE_GALLIUM_LLVM define configure.ac: Don't check LLVM version in gallium_require_llvm They break scons build, and I'm not convinced this is the right fix. In particular changing HAVE_LLVM in the C code is something I'd rather avoid no matter what. So it's better to discuss without the pressure of broken builds.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
4d0efb9683856cada2f34b124c77ef20a2fe0332 |
|
08-Dec-2016 |
Tobias Droste <tdroste@gmx.de> |
configure.ac: Set and use HAVE_GALLIUM_LLVM define Gallium code used HAVE_LLVM to check if it needs to compile code for LLVM in header and source files. With the new logic HAVE_LLVM is always set. Use extra define to figure out if LLVM is used. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99010 Signed-off-by: Tobias Droste <tdroste@gmx.de>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
d17062a40e16454a15aa037a4d1d9e9562cedd46 |
|
13-May-2016 |
Dave Airlie <airlied@redhat.com> |
draw: stop using CULLDIST semantic. The way the HW works doesn't really fit with having two semantics for this. The GLSL compiler emits 2 vec4s and two properties, this makes draw use those instead of CULLDIST semantics. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
a2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 |
|
21-Jul-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
gallium: replace INLINE with inline Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
4b6d6642d2c64ce67d65ead480fb99104a7e2d3a |
|
18-Nov-2014 |
Roland Scheidegger <sroland@vmware.com> |
draw: fixes for vertex shaders outputting layer or viewport index Mostly add a couple cases so we don't just check gs for this. There's only one gotcha, the built-in vp transform in the llvm vs can't handle it (this would be fixable though non-trivial due to vp index being non-constant for the SoA outputs, but we don't use it if there's a gs neither - the whole clip/vp transform integration there is suboptimal). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
877128505431adaf817dc8069172ebe4a1cdf5d8 |
|
17-Jan-2014 |
José Fonseca <jfonseca@vmware.com> |
s/Tungsten Graphics/VMware/ 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 <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
5507c11f85dda4fbcdc9b36494551c933471a070 |
|
11-Jun-2013 |
Zack Rusin <zackr@vmware.com> |
gallium/draw: add limits to the clip and cull distances There are strict limits on those registers. Define the maximums and use them instead of magic numbers. Also allows us to add some extra sanity checks. Suggested by Brian. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
babe35a067d1610d9032cc28eec8e16b18685621 |
|
06-Jun-2013 |
Zack Rusin <zackr@vmware.com> |
draw: implement distance culling Works similarly to clip distance. If the cull distance is negative for all vertices against a specific plane then the primitive is culled. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
30530ee9acc356ea94466e9d71661068f4787433 |
|
02-Jan-2013 |
Adam Jackson <ajax@redhat.com> |
gallium: Remove ppc asm backend The vs part hasn't been wired up since tgsi_sse2 was disabled in: commit 4eb3225b38ce12cb34ab3d90804c9683bd7b4ed3 Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Tue Nov 8 00:10:47 2011 +0000 Remove tgsi_sse2. And it would certainly not work correctly in its current state: draw/draw_vs_ppc.c: In function ‘draw_create_vs_ppc’: draw/draw_vs_ppc.c:190:24: warning: assignment from incompatible pointer type [enabled by default] As with the sse2 backend, this should be done in llvm anyway. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
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.h
|
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.h
|
b79b05e17e197a7cdc523deff8f7ea456a91e8d0 |
|
12-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
draw: Fix draw_variant_output::format's type.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
b7e150605d402224cdd8fa3d186924bdee3c6c49 |
|
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
draw: s/varient/variant/
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
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.h
|
35883f42967a6dd31939e5653a818233c2e34abf |
|
28-Apr-2010 |
Brian Paul <brianp@vmware.com> |
draw: put 'create' in the vs varient create function names
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
2a30d3d74a0b87f8066659952628ccd072a4e2b0 |
|
26-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
draw: Pass-through pipe_buffer::max_index to translate. max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
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.h
|
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.h
|
7ca0ce38340144794267609646048b3820d594ab |
|
29-Dec-2009 |
Michal Krol <michal@vmware.com> |
Implement draw_arrays_instanced() in softpipe. Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
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.h
|
21f98ad30aaeab5085d12278830f485e61b47cc1 |
|
01-Oct-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: don't keep refetching constant inputs
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
62628c4d3d497cbca73fde869c9069fa90e6453e |
|
29-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: share machine
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
728d1f7f43b6db9f4f42c2d16ba223c492d1147d |
|
29-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: enable FSE by default
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
660fee8351542dadc0d5550164e753f7c2d67261 |
|
27-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: ensure vs outputs mapped correctly to vinfo attribs
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
f8762ba5234fd1b44e11e76bb5f58d2305c90572 |
|
27-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: explicitly list nr_inputs, outputs in varient key
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
889473b3f5a216bd753c357974d6bae29fe3c41d |
|
21-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: add viewport to varient state
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
1ba10e5ccf5cd0c990922e982e1e9bc6be48a5e4 |
|
21-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: add aos vertex shader varient
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
ba738a3135415de8b381cd8845cd6c435d5747a8 |
|
21-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: mark varient functions as PIPE_CDECL
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
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.h
|
882e5d84dcb19c24b7b56cfe6049810023f3a17e |
|
19-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: remove dead code
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
dd903d83b3ff8dd19f75ac7542b96bc8f1387fe6 |
|
18-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: remove old vertex_shader->run() functions
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
280bcff1fa200b790d8712946a4ffbaa47a67433 |
|
17-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: add vertex shader run_linear function
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
2ebc99fcbc0c8fc6f6ce50e2ee674312e214ea2f |
|
12-Apr-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move duplicated compute_clipmask() code to draw_vs.h
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|
b29d8d27292c2ad956d3f0a307603f00ee01af28 |
|
15-Feb-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: subclass vertex shaders according to execution method Create new files for shaders compiled/executed with llvm, sse, exec respectively
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs.h
|