Mesa (master): i965: Use the pretty define for 4-oword DP reads.

Eric Anholt anholt at kemper.freedesktop.org
Thu Jul 22 03:25:58 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 21 13:49:14 2010 -0700

i965: Use the pretty define for 4-oword DP reads.

---

 src/mesa/drivers/dri/i965/brw_eu_emit.c |    2 +-
 1 files changed, 1 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 e26ae3f..7164a22 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -1151,7 +1151,7 @@ void brw_dp_READ_16( struct brw_compile *p,
       brw_set_dp_read_message(p->brw,
 			      insn,
 			      255, /* binding table index (255=stateless) */
-			      3,  /* msg_control (3 means 4 Owords) */
+			      BRW_DATAPORT_OWORD_BLOCK_4_OWORDS,
 			      BRW_DATAPORT_READ_MESSAGE_OWORD_BLOCK_READ, /* msg_type */
 			      1, /* target cache (render/scratch) */
 			      1, /* msg_length */




More information about the mesa-commit mailing list