Searched refs:nonconst_index (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dgl_nir_lower_buffers.c43 nir_ssa_def *nonconst_index = NULL; local in function:get_block_array_index
60 if (nonconst_index)
61 nonconst_index = nir_iadd(b, nonconst_index, arr_offset);
63 nonconst_index = arr_offset;
94 if (nonconst_index)
95 return nir_iadd_imm(b, nonconst_index, i);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_lower_buffers.c44 nir_ssa_def *nonconst_index = NULL; local in function:get_block_array_index
62 if (nonconst_index)
63 nonconst_index = nir_iadd(b, nonconst_index, arr_offset);
65 nonconst_index = arr_offset;
102 if (nonconst_index)
103 return nir_iadd_imm(b, nonconst_index, i);

Completed in 5 milliseconds