mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
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:
parent
76d150674b
commit
1780102923
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue