mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
anv/dynamic_offsets: Fix the order of arguments to nir_build_imm
This commit is contained in:
parent
6028a67641
commit
d273ce5259
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ apply_dynamic_offsets_block(nir_block *block, void *void_state)
|
|||
|
||||
b->cursor = nir_after_cf_list(&if_stmt->else_list);
|
||||
nir_const_value zero_val = { .u32 = { 0, 0, 0, 0 } };
|
||||
nir_ssa_def *zero = nir_build_imm(b, intrin->dest.ssa.bit_size,
|
||||
intrin->num_components, zero_val);
|
||||
nir_ssa_def *zero = nir_build_imm(b, intrin->num_components,
|
||||
intrin->dest.ssa.bit_size, zero_val);
|
||||
|
||||
nir_phi_src *src2 = ralloc(phi, nir_phi_src);
|
||||
struct exec_node *enode = exec_list_get_tail(&if_stmt->else_list);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue