Mesa (master): i915g: Add a comment about a bug.

Stephane Marchesin marcheu at kemper.freedesktop.org
Mon Jun 27 09:06:05 UTC 2011


Module: Mesa
Branch: master
Commit: e2422f77a2b04f7611a4b4e0e5b0165c199ae90c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2422f77a2b04f7611a4b4e0e5b0165c199ae90c

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Mon Jun 27 02:05:10 2011 -0700

i915g: Add a comment about a bug.

---

 src/gallium/drivers/i915/i915_state.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c
index 2f1b0f9..2f5eced 100644
--- a/src/gallium/drivers/i915/i915_state.c
+++ b/src/gallium/drivers/i915/i915_state.c
@@ -146,6 +146,7 @@ i915_create_blend_state(struct pipe_context *pipe,
    if (blend->dither)
       cso_data->LIS5 |= S5_COLOR_DITHER_ENABLE;
 
+   /* XXX here take the target fixup into account */
    if ((blend->rt[0].colormask & PIPE_MASK_R) == 0)
       cso_data->LIS5 |= S5_WRITEDISABLE_RED;
 




More information about the mesa-commit mailing list