anv: Drop the slow clear heuristic

This no longer provides a performance improvement.

Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33776>
This commit is contained in:
Nanley Chery
2025-01-31 04:04:26 -05:00
committed by Marge Bot
parent 67d60f4325
commit 4502254cd2
3 changed files with 0 additions and 27 deletions
-8
View File
@@ -3144,14 +3144,6 @@ genX(cmd_buffer_update_color_aux_op)(struct anv_cmd_buffer *cmd_buffer,
} else {
cmd_buffer->state.color_aux_op = next_aux_op;
}
if (next_aux_op == ISL_AUX_OP_FAST_CLEAR) {
if (aux_op_clears(last_aux_op)) {
cmd_buffer->num_dependent_clears++;
} else {
cmd_buffer->num_independent_clears++;
}
}
}
static void