Mesa (master): i965: Clarify an XXX comment in FB writes with real info.

Eric Anholt anholt at kemper.freedesktop.org
Tue Oct 26 21:12:23 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 25 16:22:04 2010 -0700

i965: Clarify an XXX comment in FB writes with real info.

---

 src/mesa/drivers/dri/i965/brw_eu_emit.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index feb13e7..d5f24c2 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -1736,7 +1736,8 @@ void brw_fb_WRITE(struct brw_compile *p,
    GLboolean header_present = GL_TRUE;
 
    insn = next_insn(p, BRW_OPCODE_SEND);
-   insn->header.predicate_control = 0; /* XXX */
+   /* The execution mask is ignored for render target writes. */
+   insn->header.predicate_control = 0;
    insn->header.compression_control = BRW_COMPRESSION_NONE;
 
    if (intel->gen >= 6) {




More information about the mesa-commit mailing list