From 73137997e23ff6c1145d036315d1a9ad96651281 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 2 Jul 2009 16:32:19 +0800 Subject: i965: fixes for JMPI 1. the data type of (JMPI offset) must be D 2. execution size must be 1 3. NoMask 4. instruction compression isn't allowed. --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_eu_emit.c') diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index da41d5a12ec..0ee208d7a4c 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -484,6 +484,10 @@ struct brw_instruction *brw_JMPI(struct brw_compile *p, { struct brw_instruction *insn = brw_alu2(p, BRW_OPCODE_JMPI, dest, src0, src1); + insn->header.execution_size = 1; + insn->header.compression_control = BRW_COMPRESSION_NONE; + insn->header.mask_control = BRW_MASK_DISABLE; + p->current->header.predicate_control = BRW_PREDICATE_NONE; return insn; -- cgit v1.2.3