History log of /external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b1c3b920ee921506948fc14a0b70c746a811c2f 24-Mar-2012 Dave Airlie <airlied@redhat.com> softpipe: add dual source blending support

This adds support for a single dual source blending MRT to softpipe.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368 14-Jan-2012 Tom Stellard <tstellar@gmail.com> gallium: Prefix #defines in tgsi_exec.h with TGSI_
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
0fe2b397bbee346f72f48f364a78459e5a54c534 05-Jan-2012 Dave Airlie <airlied@redhat.com> softpipe: enable clamping control

This enables fragment clamping in softpipe, it passes more
tests than it did previously with no regressions, There are still
a couple of failures in the SNORM types to investigate.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
0a0d820f7bb191c1c541270e9206fd9494f38560 07-Nov-2011 Morgan Armand <morgan.devel@gmail.com> softpipe: don't clamp or do logical operations on floating-point buffers.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
3edbce32fb682fd63b597f855c0bedd516f1f122 14-Sep-2011 Brian Paul <brianp@vmware.com> softpipe: use consistent indentation in sp_quad_blend.c
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
a7109a31999f78a1184346f423a8df15be18d570 15-Sep-2011 Brian Paul <brianp@vmware.com> softpipe: fix blending for luminance/intensity surfaces

If we're drawing to a luminance, luminance/alpha or intensity surface
we have to adjust (rebase) the fragment/quad colors before writing them
to the tile cache. The tile cache always stores RGBA colors but if
we're caching a L/A surface (for example) we need to be sure that R=G=B
so that subsequent reads from the surface cache appear to return L/A

We previously had a special case for RGB (no alpha) surfaces. This
change generalizes that for the other base formats.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40408, but sRGB
formats are still failing. That'll be addressed in a later patch.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
ec22b75be1c57f991f48bf6cc1d4b910911e8bf2 14-Sep-2011 Brian Paul <brianp@vmware.com> softpipe: implement blend color clamping

Per the GL spec, clamp incoming colors prior to blending depending on
whether the destination buffer stores normalized (non-float) values.
Note that the constant blend color needs to be clamped too (we always
get the unclamped color from Mesa).

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40412
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
f79e3518b4e39cd27f679c402e715154f63107f6 14-Jul-2011 Eric Anholt <eric@anholt.net> softpipe: When doing write_all_cbufs, don't stomp over the color.

We have to make it through this loop processing the color multiple
times, so we can't go overwriting it on our first color buffer.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
ac6455e9a25f5472c96d580e3d2389f1ed1c0619 22-Jul-2011 Younes Manton <younes.m@gmail.com> gallium/softpipe: Don't clobber dest color/alpha before masking.

The blend_quad function clobbers the actual render target color/alpha
values while applying the destination blend factor, which results in
restoring the wrong value during the masking stage for write-disabled
channels.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.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_quad_blend.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_quad_blend.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_quad_blend.c
7a5a0b205eb31ba72e5313b783b8815bcf8fa833 02-Jul-2010 Brian Paul <brianp@vmware.com> softpipe: fix incorrect blend func index passed to blend_quad()

Need to pass the index indicating which blend terms to use, not which
color buffer we're blending into.

Rename the parameter to blend_quad() and add comments to be more clear
about this.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
fbc6c316d27cb256677991af9ca88521edd7e6a1 02-Jul-2010 Brian Paul <brianp@vmware.com> softpipe: better assertions
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
4885cd4ff71b184ef38d709f365dd8d46d437960 02-May-2010 José Fonseca <jfonseca@vmware.com> softpipe: Fix alpha blending for formats without alpha channel.

Don't use the dst alpha channel from the tile cache when it does not
exist in the true format.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
0eea33b0696cee2cdea1e63a1714cec267d9b990 05-Apr-2010 Brian Paul <brianp@vmware.com> softpipe: index the correct blend/mask state index

Need to check pipe_blend_state::independent_blend_enable to determine
which render target/index to use when checking blend enable and colormask
state.

This is part of the fix for piglit/fbo-drawbuffers
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
9b346f83a7b672e913a7bb6a089d5dbd7fbdce06 28-Jan-2010 Roland Scheidegger <sroland@vmware.com> Merge commit 'origin/perrtblend'

Conflicts:
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
df4395198ce433251c8bd2d497543c7b389e5aca 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> softpipe: enable new blend functionality

works with tests/drawbuffers2
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
4e6bfa6de1940f1da018aace444ae7ca16792d28 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> softpipe: adapt to blend changes
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
e3cb614f932ac417d446c84bd54f86d01b1cdcd9 20-Jan-2010 Vinson Lee <vlee@vmware.com> softpipe: Remove unnecessary headers.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
3a2f96f18aab60ed061339f74792307964c284a2 28-Dec-2009 Vinson Lee <vlee@vmware.com> softpipe: Silence unintialized variable warnings.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
67034b9efce43a7b83f79e44beb6d4e8f6dff22a 05-Nov-2009 José Fonseca <jfonseca@vmware.com> softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.

It is a valid and tested combination on D3D9.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
39daa763b59cc80d862709e99ee3619bd0f7a14d 10-Oct-2009 Brian Paul <brianp@vmware.com> softpipe: fix multi-drawbuffers regression

This is part of the fix for bug 24401.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
99ec78d9462d2a553982d0ea15d538b36b1c123b 11-Aug-2009 Keith Whitwell <keithw@vmware.com> Revert "softpipe: rearrange blend fastpaths"

This reverts commit 1295cf423e21dad04a947960782ffa8db2739709.

The original formulation was easier to understand & work with. Will
revisit this later.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
1295cf423e21dad04a947960782ffa8db2739709 30-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: rearrange blend fastpaths
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
1078844d18367b4259cd3b6a3a73e3cd72ea019f 27-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: cope with nr_cbufs == 0

Disable blend code when no color buffer
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
a2f7ab1d155da52c689f7c6390c233e4eae44643 24-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: move all color-combine code into sp_quad_blend.c

Consolidate the read-modify-write color combining code from
the blend, colormask and output stages.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
333ec94380af502b1c492f61dcc1897bcf43a96c 24-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: example fastpaths in blending
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
a1dbd7aa159e266592a1e52504680992327ca9e0 24-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: actually pass >1 quad from triangle routine

First attempt
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
ab9fb5167023a26566b53e98f206dd73a18000f3 24-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: expand quad pipeline to process >1 quad at a time

This is part one -- we still only pass a single quad down, but
the code can now cope with more. The quads must all be from the same
tile.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
aa5db684382bd8662a83ca09ed000e4a5a1013f9 16-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: remove backwards dependency from tilecache to softpipe

The tile cache is a utility, it shouldn't know anything about the
entity which is making use of it (ie softpipe).

Remove softpipe parameter to all the tilecache function calls, and
also remove the need to keep a softpipe pointer in the sampler structs.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
6b7b13b5ebcebdca38264d165a95fd22887b90c7 15-Jul-2009 Luca Barbieri <luca@luca-barbieri.com> softpipe: limit blend results to [0,1]
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
7925274da323d5a896b557181d4016e0391f026f 12-Feb-2009 Brian <brianp@vmware.com> softpipe: rename sp_headers.h to sp_quad.h

This header describes the quad-related datatypes afterall.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
ed6f41e2f467f5b9338320a96202c7dfd181422f 12-Feb-2009 Brian <brianp@vmware.com> softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]

Be more consistant with 'draw' module.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
2299f21f8da816fc4588492965e7dac422da1a96 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize api on the prefix "nr"
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
01f9e5120395f88bba8321e8639cac0bb9c85296 06-Sep-2008 Michal Krol <michal@ubuntu-vbox.(none)> softpipe: Split changing fields of quad_header into input, inout and output parts.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.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/drivers/softpipe/sp_quad_blend.c
809bc8f9ad3667c297afa2652c6688f98d6451b0 23-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: move logicop test outside of loop
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
2221cb9f74ceee826efb09840188711f408e5428 23-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
f7e475280a0b98484a8c1a98f18b2733532486b4 09-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA case
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
c7daa68ca312cc98abe351be2fef8d8246929627 08-Apr-2008 Brian <brian.paul@tungstengraphics.com> gallium: begin reworking quad stages for multiple color outputs
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
b721bc8792f6add71dede11924d7060bbce72f0e 10-Mar-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: WinCE portability fixes.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c
b642730be93149baa7556e5791393168ab396175 15-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> Code reorganization: move files into their places.

This is in a separate commit to ensure renames are properly preserved.
/external/mesa3d/src/gallium/drivers/softpipe/sp_quad_blend.c