diff options
author | Stéphane Marchesin <[email protected]> | 2012-01-15 23:32:59 -0800 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-01-15 23:39:49 -0800 |
commit | 23d4a0569dcb70bdfd748bf7e1f5102289bfad6b (patch) | |
tree | 7ef1c29ea94efa9603554d5a09f689429d3f63fe /src/gallium/drivers/i915/i915_context.h | |
parent | 6e9478e382df0e2fc45741c385976ae5d26c5345 (diff) |
i915g: Fix the blending for the A8 destination buffer case.
The i915 GPU can't do A8 dst, so we abuse GREEN8 buffers for that
purpose. However, things get hairy as we start to do blending,
because then GL_DST_*_ALPHA should be replaced with GL_DST_*_COLOR.
This is what we do here.
Fixes piglt fbo-alpha.
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index fb511853e72..e39c7cc137f 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -167,7 +167,7 @@ struct i915_state unsigned dst_buf_vars; uint32_t draw_offset; uint32_t draw_size; - unsigned need_target_fixup; + uint32_t target_fixup_format; uint32_t fixup_swizzle; unsigned id; /* track lost context events */ |