History log of /external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e6e58cfa9dd8cbd5d6977822355d150e76eb987a 14-Dec-2012 Brian Paul <brianp@vmware.com> softpipe: fix up FS variant unbinding / deletion

The old call to tgsi_exec_machine_bind_shader() in
softpipe_delete_fs_state() was never called since the shader's original
tokens are never passed to the tgsi interpreter (only shader _variant_
tokens are). Now, unbind the variant's tokens from the tgsi interpreter
when we free the variant.

This doesn't fix any known bugs but it's the right thing to do.

Note: This is a candidate for the stable branches.
(cherry picked from commit fddcc67f5cb41f70d1d11827eb9190a5caec13c5)
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
16c702ef3b9cff320c2adbfa853e00088adbf689 10-Aug-2012 Brian Paul <brianp@vmware.com> softpipe: fix softpipe_delete_fs_state() failed assertion

The var!=softpipe->fs_variant assertion was failing because we weren't
nulling the softpipe->fs_variant pointer when binding a new shader.
Since softpipe->fs_variant depends on the current fs, it's of no use
when a new FS is bound.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53318

Note: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
b5752e16e82d4375171d157cb116a81ea025ea7b 30-Apr-2012 Brian Paul <brianp@vmware.com> softpipe: cast away const to silence warning
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
0b7d48cbad86eaac21fce3793da41b46db8be3b4 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add void *user_buffer to pipe_constant_buffer

This reduces CPU overhead when updating constants.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
507337864fa80caf9f26602324d2c28dd0a75d61 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: change set_constant_buffer to be UBO-friendly
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.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/drivers/softpipe/sp_state_shader.c
89d6044b7b70304bdd9ebab734d8b1c0826cbdb8 07-Nov-2011 Morgan Armand <morgan.devel@gmail.com> softpipe: fix memory leaks

This series of patches is a splitted version of my previous one, as suggested by Brian.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
334a9dd3e60e9c7b8ba7bcceb2c88c2645e6220b 04-Oct-2011 Brian Paul <brianp@vmware.com> softpipe: add check for DO_PSTIPPLE_IN_HELPER_MODULE

We only want to generate the fragment shader variant that does
stippling if DO_PSTIPPLE_IN_HELPER_MODULE is being used.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
f32c9c210875b2ce4878f97b84bdd4739bd489f9 25-Sep-2011 José Fonseca <jose.r.fonseca@gmail.com> softpipe: Use memory allocation macros.

Fixes segfault with memory debugging on.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
57aa597b3d5dac0fc59c05557dafec59e14e1019 21-Jul-2011 Brian Paul <brianp@vmware.com> softpipe: use the polygon stipple utility module

This is an alternative to the draw module's polygon stipple stage.
The softpipe implementation here is just a test. The advantange of
using the new polygon stipple utility module (with other drivers)
is we can avoid software vertex processing in the draw module and
get much better performance.
Polygon stipple doesn't require special vertex processing like
the other draw module stage.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
c534f11164bbecf25eb2b1e697f9511eceb0c86f 21-Jul-2011 Brian Paul <brianp@vmware.com> softpipe: implement fragment shader variants

We'll need shader variants to accomodate the new polygon stipple utility.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
4736c0ba8670637970a971da6ec83cf1d2620a32 21-Jul-2011 Brian Paul <brianp@vmware.com> softpipe: use tgsi_shader_info fields for fragcoord origin, center, etc.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
125b4ac7e6745ea60e620fe399db4a90e7bb530e 01-Mar-2011 Brian Paul <brianp@vmware.com> softpipe: remove redundant draw_flush() call

We'll flush after the same-shader comparison.
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
2f4860f2ab7a7d4a1a1f6e69ee074e22a58c754f 18-Dec-2010 Dave Airlie <airlied@redhat.com> softpipe: add support for color writes all color bufs property
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
279b368dc34d8829bfd23b83af7f78e10e303f54 25-Sep-2010 Brian Paul <brianp@vmware.com> softpipe: make shader-related functions static
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c
72c6d16f8fe31b1b711465d20e4d2c4cbd13825f 25-Sep-2010 Brian Paul <brianp@vmware.com> softpipe: rename sp_state_fs.c -> sp_state_shader.c
/external/mesa3d/src/gallium/drivers/softpipe/sp_state_shader.c