150c289f6067cb1ba4572f9124948a94ef94c839 |
|
04-Dec-2015 |
Edward O'Callaghan <eocallaghan@alterapraxis.com> |
gallium/auxiliary: Sanitize NULL checks into canonical form Use NULL tests of the form `if (ptr)' or `if (!ptr)'. They do not depend on the definition of the symbol NULL. Further, they provide the opportunity for the accidental assignment, are clear and succinct. Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
0eb588a37cc0427fd5c6a1ed2b212ed5d68f4dab |
|
29-Jan-2013 |
Roland Scheidegger <sroland@vmware.com> |
draw: fix draw_llvm_variant_key struct padding to avoid recompiles The struct padding got broken by c789b981b244333cfc903bcd1e2fefc010500013. This caused serious performance regression because part of the key was uninitialized and hence the shader always recompiled (at least on release builds...). While here also fix key size calculation when the number of samplers and the number of sampler views are different. v2: add comment Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
c67a1f1d5366dc20cd07d9b677a335ff537da193 |
|
18-Feb-2012 |
Dave Airlie <airlied@redhat.com> |
draw: add missing streamout state setup for draw/llvm. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
b7e150605d402224cdd8fa3d186924bdee3c6c49 |
|
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
draw: s/varient/variant/
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
becc4bb90c46f754018ac596460e6c6a650d399c |
|
10-Dec-2010 |
Brian Paul <brianp@vmware.com> |
draw/llvm: don't flush in vs_llvm_delete() Fixes piglit glx-shader-sharing crash. When shaders are shared by multiple contexts, the shader's draw context pointer may point to a previously destroyed context. Dereferencing the context pointer will lead to a crash. In this case, simply removing the flushing code avoids the crash (the exec and sse shader paths don't flush here either). There's a deeper issue here, however, that needs examination. Shaders should not keep pointers to contexts since contexts might get destroyed at any time. NOTE: This is a candidate for the 7.10 branch (after this has been tested for a while).
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
9112e531d4c26ea88a31c05fe2bc8cc613b76b65 |
|
28-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
draw: Include missing header in draw_vs_llvm.c. Include p_screen.h for completely type to pipe_screen.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
a1de6f48c3fa79bbc8f2514da19b3e01138e7093 |
|
21-Aug-2010 |
Keith Whitwell <keithw@vmware.com> |
draw: reduce the size of the llvm variant key
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.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_llvm.c
|
3443b581fb3ac139955fcfc61924a87d7ff6018f |
|
26-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
draw: Remove unnecessary header.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.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_llvm.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_llvm.c
|
ea532f0e725bd68e7784189c9b7f6f7bf7f9d901 |
|
10-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
scons: Make LLVM a black-white dependency. Now that draw depends on llvm it is very difficult to correctly handle broken llvm installations. Either the user requests LLVM and it needs to supply a working installation. Or it doesn't, and it gets no LLVM accelerate pipe drivers.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
c5c5cd7132e18f4aad8e73d8ee879f8823c4c1e7 |
|
23-Feb-2010 |
Zack Rusin <zackr@vmware.com> |
gallium/draw: initial code to properly support llvm in the draw module code generate big chunks of the vertex pipeline in order to speed up software vertex processing.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
c61bf363937f40624a5632745630d4f2b9907082 |
|
09-Feb-2010 |
Zack Rusin <zackr@vmware.com> |
llvmpipe: export the tgsi translation code to a common layer the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.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_llvm.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_llvm.c
|
aa99a765c15392d06e3a33d4eda377c58bc6afec |
|
23-Jul-2009 |
Keith Whitwell <keithw@vmware.com> |
draw: correct address for machine struct in llvm path This changed after a recent commit.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
3f477e111a96493ff2863af06a98e8849ffbc6d8 |
|
28-Sep-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
Gallivm: make it compile again, add some opcodes.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.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_llvm.c
|
c208a2c791fa24c7c5887fc496738cbddbfafc72 |
|
27-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Merge tgsi/exec and tgsi/util directories.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
92d711e9e6c1934e1cec774bfa4581869530cda6 |
|
13-Jul-2008 |
Stephane Marchesin <marchesin@icps.u-strasbg.fr> |
llvm: build fixes.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.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_llvm.c
|
aeae57693b31bf42833a9d51844fe92e3ab61034 |
|
15-May-2008 |
Zack Rusin <zack@tungstengraphics.com> |
move the swizzling code to gallivm in preperation for code-generating it also some minor cleanups
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
9671f7ae476cadb46f9f8f9d0363f24aabaf9f87 |
|
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state() The caller can then free the token array immediately.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
0824fb1d6afc651c0ab814e96f08326c706de216 |
|
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
actually write the results
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
201ac414d4df00745e487a6ffbc9979a2e70f0c6 |
|
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
make llvm draw paths compile with the latest changes switch the method of distribution of builtins (to get rid of the llvm2cpp dependency)
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
415e8e039ba38716336e8de3d7b3cdc23b9a9d8e |
|
18-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: remove draw_vertex_fetch.c
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
dd903d83b3ff8dd19f75ac7542b96bc8f1387fe6 |
|
18-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: remove old vertex_shader->run() functions
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
a773f06e969a3992451dd7fe6fd55ea96b2774fa |
|
18-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: split off all the extra functionality in the vertex shader This will at least allow us to make the initial gains to get decent vertex performance much more quickly & with higher confidence of getting it right. At some later point can look again at code-generating all the fetch/cliptest/viewport extras in the same block as the vertex shader. For now, just need to get some decent baseline performance.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
280bcff1fa200b790d8712946a4ffbaa47a67433 |
|
17-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: add vertex shader run_linear function
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
e106b2d3d65585b0aaa0e60afd541da020d9e220 |
|
14-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: move vertex header init out of fetch_shade_pipeline.c
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
3f7a3dd58c0ce2719af83ff1d89a26185d08c04c |
|
13-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
Make shaders operate on a block of memory instead of arrays of vertex_header's
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
808f968f3ad0cb32e86f517753d5715d00e9ec2c |
|
12-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
return true if one of the vertices has been clipped
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
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_llvm.c
|
52f40dcc468039fc9cca45a4de20a5aa11228b67 |
|
01-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
draw: associate rhw divide with clipping not viewport flag
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
594dab4769533afaeb30a588e1731a6753a93f0d |
|
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move the test for bypass_vs into the vs_XXX_run() functions Also: 1. Added an identity_viewport flag to skip viewport transformation when it has no effect. Might also add an explicit bypass_viewport flag someday. 2. Separate the code for computing clip codes and doing the viewport transform. Predicate them separately. Note: even if bypass_vs is set, we still look at the shader to determine the number of inputs and outputs.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
39038c11699bbc9baab744542e96d54e91cb452a |
|
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
ae146e4bc86aeade59d018100e39e160f7553994 |
|
24-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: make a copy of the vertex shader's token array. This solves problems when the state tracker frees the token array when the draw module still needs it.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
3f5b9f4ba49df57e7bbab04eab55a17a99bb5046 |
|
10-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: use the same bypass_clipping logic on all vs paths
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
0448dbd64a2ef217349f4ada4777d432bc82e46d |
|
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Update for llvm -> gallivm rename.
/external/mesa3d/src/gallium/auxiliary/draw/draw_vs_llvm.c
|
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_llvm.c
|