mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
st/mesa: don't use nir_copy_var
so that we don't have to call nir_lower_var_copies. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32779>
This commit is contained in:
parent
4fdeeca192
commit
da8f98d202
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ clip_with_plane(nir_builder *b, nir_variable *vert, nir_variable *num_vert,
|
|||
}
|
||||
end_for_loop(vert_loop);
|
||||
|
||||
nir_copy_var(b, num_vert, vert_index);
|
||||
nir_store_var(b, num_vert, nir_load_var(b, vert_index), 0x1);
|
||||
}
|
||||
|
||||
static nir_def *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue