nir: Use nir_builder_at
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23883>
This commit is contained in:

committed by
Marge Bot

parent
c1b472c834
commit
574079e354
@@ -103,8 +103,7 @@ static void
|
||||
lower_bitmap_impl(nir_function_impl *impl,
|
||||
const nir_lower_bitmap_options *options)
|
||||
{
|
||||
nir_builder b = nir_builder_create(impl);
|
||||
b.cursor = nir_before_cf_list(&impl->body);
|
||||
nir_builder b = nir_builder_at(nir_before_cf_list(&impl->body));
|
||||
|
||||
lower_bitmap(impl->function->shader, &b, options);
|
||||
|
||||
|
Reference in New Issue
Block a user