i965: Spell "conditional" correctly.
This commit is contained in:
@@ -62,7 +62,7 @@ void brw_set_predicate_control( struct brw_compile *p, GLuint pc )
|
||||
|
||||
void brw_set_conditionalmod( struct brw_compile *p, GLuint conditional )
|
||||
{
|
||||
p->current->header.destreg__conditonalmod = conditional;
|
||||
p->current->header.destreg__conditionalmod = conditional;
|
||||
}
|
||||
|
||||
void brw_set_access_mode( struct brw_compile *p, GLuint access_mode )
|
||||
|
||||
@@ -481,8 +481,8 @@ static struct brw_instruction *next_insn( struct brw_compile *p,
|
||||
/* Reset this one-shot flag:
|
||||
*/
|
||||
|
||||
if (p->current->header.destreg__conditonalmod) {
|
||||
p->current->header.destreg__conditonalmod = 0;
|
||||
if (p->current->header.destreg__conditionalmod) {
|
||||
p->current->header.destreg__conditionalmod = 0;
|
||||
p->current->header.predicate_control = BRW_PREDICATE_NORMAL;
|
||||
}
|
||||
|
||||
@@ -871,7 +871,7 @@ void brw_CMP(struct brw_compile *p,
|
||||
{
|
||||
struct brw_instruction *insn = next_insn(p, BRW_OPCODE_CMP);
|
||||
|
||||
insn->header.destreg__conditonalmod = conditional;
|
||||
insn->header.destreg__conditionalmod = conditional;
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src0);
|
||||
brw_set_src1(insn, src1);
|
||||
@@ -915,7 +915,7 @@ void brw_math( struct brw_compile *p,
|
||||
* instructions.
|
||||
*/
|
||||
insn->header.predicate_control = 0;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src);
|
||||
@@ -952,7 +952,7 @@ void brw_math_16( struct brw_compile *p,
|
||||
brw_set_compression_control(p, BRW_COMPRESSION_NONE);
|
||||
|
||||
insn = next_insn(p, BRW_OPCODE_SEND);
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src);
|
||||
@@ -969,7 +969,7 @@ void brw_math_16( struct brw_compile *p,
|
||||
*/
|
||||
insn = next_insn(p, BRW_OPCODE_SEND);
|
||||
insn->header.compression_control = BRW_COMPRESSION_2NDHALF;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr+1;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr+1;
|
||||
|
||||
brw_set_dest(insn, offset(dest,1));
|
||||
brw_set_src0(insn, src);
|
||||
@@ -1016,7 +1016,7 @@ void brw_dp_WRITE_16( struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = 0; /* XXX */
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src);
|
||||
@@ -1062,7 +1062,7 @@ void brw_dp_READ_16( struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = 0; /* XXX */
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest); /* UW? */
|
||||
brw_set_src0(insn, retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UW));
|
||||
@@ -1116,7 +1116,7 @@ void brw_dp_READ_4( struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = BRW_PREDICATE_NONE;
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
insn->header.mask_control = BRW_MASK_DISABLE;
|
||||
|
||||
/* cast dest to a uword[8] vector */
|
||||
@@ -1190,7 +1190,7 @@ void brw_dp_READ_4_vs(struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = BRW_PREDICATE_NONE;
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
insn->header.mask_control = BRW_MASK_DISABLE;
|
||||
/*insn->header.access_mode = BRW_ALIGN_16;*/
|
||||
|
||||
@@ -1224,7 +1224,7 @@ void brw_fb_WRITE(struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = 0; /* XXX */
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src0);
|
||||
@@ -1322,7 +1322,7 @@ void brw_SAMPLE(struct brw_compile *p,
|
||||
|
||||
insn->header.predicate_control = 0; /* XXX */
|
||||
insn->header.compression_control = BRW_COMPRESSION_NONE;
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_dest(insn, dest);
|
||||
brw_set_src0(insn, src0);
|
||||
@@ -1375,7 +1375,7 @@ void brw_urb_WRITE(struct brw_compile *p,
|
||||
brw_set_src0(insn, src0);
|
||||
brw_set_src1(insn, brw_imm_d(0));
|
||||
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_urb_message(p->brw,
|
||||
insn,
|
||||
@@ -1410,7 +1410,7 @@ void brw_ff_sync(struct brw_compile *p,
|
||||
brw_set_src0(insn, src0);
|
||||
brw_set_src1(insn, brw_imm_d(0));
|
||||
|
||||
insn->header.destreg__conditonalmod = msg_reg_nr;
|
||||
insn->header.destreg__conditionalmod = msg_reg_nr;
|
||||
|
||||
brw_set_ff_sync_message(p->brw,
|
||||
insn,
|
||||
|
||||
@@ -1200,7 +1200,7 @@ struct brw_instruction
|
||||
GLuint predicate_control:4;
|
||||
GLuint predicate_inverse:1;
|
||||
GLuint execution_size:3;
|
||||
GLuint destreg__conditonalmod:4; /* destreg - send, conditionalmod - others */
|
||||
GLuint destreg__conditionalmod:4; /* destreg - send, conditionalmod - others */
|
||||
GLuint pad0:2;
|
||||
GLuint debug_control:1;
|
||||
GLuint saturate:1;
|
||||
|
||||
Reference in New Issue
Block a user