mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
i965: Delete current_insn() function.
This commit is contained in:
parent
006232bcde
commit
255357f79b
2 changed files with 2 additions and 7 deletions
|
|
@ -90,11 +90,6 @@ struct brw_compile {
|
|||
int loop_stack_array_size;
|
||||
};
|
||||
|
||||
static inline struct brw_instruction *current_insn( struct brw_compile *p)
|
||||
{
|
||||
return &p->store[p->nr_insn];
|
||||
}
|
||||
|
||||
void brw_pop_insn_state( struct brw_compile *p );
|
||||
void brw_push_insn_state( struct brw_compile *p );
|
||||
void brw_set_mask_control( struct brw_compile *p, unsigned value );
|
||||
|
|
|
|||
|
|
@ -236,8 +236,8 @@ gen_f0_1_MOV_GRF_GRF(struct brw_compile *p)
|
|||
|
||||
brw_push_insn_state(p);
|
||||
brw_set_predicate_control(p, true);
|
||||
current_insn(p)->bits2.da1.flag_subreg_nr = 1;
|
||||
brw_MOV(p, g0, g2);
|
||||
struct brw_instruction *mov = brw_MOV(p, g0, g2);
|
||||
mov->bits2.da1.flag_subreg_nr = 1;
|
||||
brw_pop_insn_state(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue