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_gs.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_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 97a2ee39bf3..9683fc61fdd 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -70,7 +70,7 @@ static void compile_ff_gs_prog(struct brw_context *brw, /* For some reason the thread is spawned with only 4 channels * unmasked. */ - brw_set_mask_control(&c.func, BRW_MASK_DISABLE); + brw_set_default_mask_control(&c.func, BRW_MASK_DISABLE); if (brw->gen >= 6) { unsigned num_verts; |