diff options
author | Marek Olšák <[email protected]> | 2012-10-05 02:45:29 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-10 00:16:32 +0200 |
commit | faaba52aedf9807ced2ddfccc4133589a7bacd5f (patch) | |
tree | 0ea3c1c03ffa3538f9a0504d7b164fde4e95500e /src/gallium/drivers/nv30/nv30_vertprog.c | |
parent | eb65fefa4bd5e9a6f08ec599b95f9d63d11c15fa (diff) |
r600g: atomize blend state
This is not so trivial, because we disable blending if the dual src
blending is turned on and the number of color outputs is less than 2.
I decided to create 2 command buffers in the blend state object and just
switch between them when needed, because there are other states unrelated
to blending (like the color mask) and those shouldn't be changed
(the old code had it wrong).
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_vertprog.c')
0 files changed, 0 insertions, 0 deletions