diff options
author | Kenneth Graunke <[email protected]> | 2014-05-31 16:57:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-02 15:09:36 -0700 |
commit | e374809819d82f2e3e946fe809c4d46061ddc5b5 (patch) | |
tree | 20a0fa915bd6703bd64b021799af9fe464352bac /src/mesa/drivers/dri/i965/brw_clip_tri.c | |
parent | 76d7160c6c76cd5cbf61ccfa178ffba4ea9aa93b (diff) |
i965: Put '_default_' in the name of functions that set default state.
Eventually we're going to use functions to set bits on an instruction.
Putting 'default' in the name of functions that alter default state will
help distinguins them.
This patch was generated entirely mechanically, by the following:
for file in brw*.{cpp,c,h}; do
sed -i \
-e 's/brw_set_mask_control/brw_set_default_mask_control/g' \
-e 's/brw_set_saturate/brw_set_default_saturate/g' \
-e 's/brw_set_access_mode/brw_set_default_access_mode/g' \
-e 's/brw_set_compression_control/brw_set_default_compression_control/g' \
-e 's/brw_set_predicate_control/brw_set_default_predicate_control/g' \
-e 's/brw_set_predicate_inverse/brw_set_default_predicate_inverse/g' \
-e 's/brw_set_flag_reg/brw_set_default_flag_reg/g' \
-e 's/brw_set_acc_write_control/brw_set_default_acc_write_control/g' \
$file;
done
No manual changes were done after running that command.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_tri.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip_tri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_tri.c b/src/mesa/drivers/dri/i965/brw_clip_tri.c index 77cae290c65..3dd423eadd7 100644 --- a/src/mesa/drivers/dri/i965/brw_clip_tri.c +++ b/src/mesa/drivers/dri/i965/brw_clip_tri.c @@ -433,7 +433,7 @@ void brw_clip_tri( struct brw_clip_compile *c ) BRW_CONDITIONAL_GE, c->reg.nr_verts, brw_imm_ud(3)); - brw_set_predicate_control(p, BRW_PREDICATE_NORMAL); + brw_set_default_predicate_control(p, BRW_PREDICATE_NORMAL); /* && (planemask>>=1) != 0 */ @@ -562,7 +562,7 @@ static void brw_clip_test( struct brw_clip_compile *c ) brw_clip_kill_thread(c); } brw_ENDIF(p); - brw_set_predicate_control(p, BRW_PREDICATE_NONE); + brw_set_default_predicate_control(p, BRW_PREDICATE_NONE); /* some vertices are inside a plane, some are outside,need to clip */ brw_XOR(p, t, t1, t2); @@ -600,7 +600,7 @@ static void brw_clip_test( struct brw_clip_compile *c ) brw_clip_kill_thread(c); } brw_ENDIF(p); - brw_set_predicate_control(p, BRW_PREDICATE_NONE); + brw_set_default_predicate_control(p, BRW_PREDICATE_NONE); /* some vertices are inside a plane, some are outside,need to clip */ brw_XOR(p, t, t1, t2); |