summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_eu_emit.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-30 17:08:40 -0600
committerBrian Paul <brianp@vmware.com>2009-06-30 17:12:44 -0600
commit1b6ae2e004b7a7a76508e0da3c45eb0d851ed10c (patch)
treec0b73675bc41c32d7e29038a45da0e81504ce9ce /src/mesa/drivers/dri/i965/brw_eu_emit.c
parent76a5a5dace715aa629ee98a37acb3075a7de153c (diff)
i965: use BRW_MAX_MRF
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu_emit.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c2
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 2a147fb8c3..da41d5a12e 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -1232,7 +1232,7 @@ void brw_urb_WRITE(struct brw_compile *p,
{
struct brw_instruction *insn = next_insn(p, BRW_OPCODE_SEND);
- assert(msg_length < 16);
+ assert(msg_length < BRW_MAX_MRF);
brw_set_dest(insn, dest);
brw_set_src0(insn, src0);