nir: fix typo in comment

The variable is unused or dead, not used.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25414>
This commit is contained in:
Timothy Arceri 2023-09-26 14:47:50 +10:00 committed by Marge Bot
parent 76d150674b
commit 1780102923

View file

@ -169,7 +169,7 @@ remove_dead_vars(struct exec_list *var_list, nir_variable_mode modes,
struct set_entry *entry = _mesa_set_search(live, var);
if (entry == NULL) {
/* Mark this variable as used by setting the mode to 0 */
/* Mark this variable as dead by setting the mode to 0 */
var->data.mode = 0;
exec_node_remove(&var->node);
progress = true;