treewide: remove unused nir_builder

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24038>
This commit is contained in:
Yonggang Luo 2023-07-07 20:46:14 +08:00 committed by Marge Bot
parent 48a25ef700
commit bd27faf083
2 changed files with 0 additions and 6 deletions

View file

@ -272,9 +272,6 @@ ac_nir_lower_task_outputs_to_mem(nir_shader *shader,
};
nir_function_impl *impl = nir_shader_get_entrypoint(shader);
nir_builder builder;
nir_builder *b = &builder; /* This is to avoid the & */
nir_builder_init(b, impl);
nir_shader_lower_instructions(shader,
filter_task_intrinsics,

View file

@ -125,9 +125,6 @@ anv_nir_compute_push_layout(nir_shader *nir,
if (has_push_intrinsic) {
nir_foreach_function_impl(impl, nir) {
nir_builder build, *b = &build;
nir_builder_init(b, impl);
nir_foreach_block(block, impl) {
nir_foreach_instr_safe(instr, block) {
if (instr->type != nir_instr_type_intrinsic)