i965: Use the pretty define for 4-oword DP reads.
authorEric Anholt <eric@anholt.net>
Wed, 21 Jul 2010 20:49:14 +0000 (13:49 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 03:17:24 +0000 (20:17 -0700)
src/mesa/drivers/dri/i965/brw_eu_emit.c

index e26ae3f30e2b89b49381d03871d7dba21531358f..7164a22560ef9c7a891c55e469de2b848700dee1 100644 (file)
@@ -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 */