diff options
author | Roland Scheidegger <[email protected]> | 2010-01-25 16:52:14 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-01-25 16:52:14 +0100 |
commit | 0d3a6a505d537b879f31be0ed14fa8577717efaf (patch) | |
tree | 8c76d097724044c597cb1b146fc76ae688191b6e /src/gallium/state_trackers/vega/mask.c | |
parent | dbc0e24ab866ce8bdd974b52e050dd022620b146 (diff) |
vega: don't enable blending if not necessary
In some places blending was enabled even though it wasn't necessary.
Also remove a (bogus) reenabling of color writes, which wasn't really used.
Diffstat (limited to 'src/gallium/state_trackers/vega/mask.c')
-rw-r--r-- | src/gallium/state_trackers/vega/mask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/mask.c b/src/gallium/state_trackers/vega/mask.c index d94fa47da62..ba8ecef1d2d 100644 --- a/src/gallium/state_trackers/vega/mask.c +++ b/src/gallium/state_trackers/vega/mask.c @@ -354,7 +354,7 @@ static void setup_mask_blend() struct pipe_blend_state blend; memset(&blend, 0, sizeof(struct pipe_blend_state)); - blend.rt[0].blend_enable = 1; /* XXX why? */ + blend.rt[0].blend_enable = 0; blend.rt[0].colormask = PIPE_MASK_RGBA; blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; |