mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 18:30:42 +02:00
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:
parent
48a25ef700
commit
bd27faf083
2 changed files with 0 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue