Searched refs:off_src (Results 1 – 3 of 3) sorted by relevance
117 nir_src *off_src = &intrin->src[offset_src_idx]; in try_fold_load_store() local120 if (!off_src->is_ssa || off_src->ssa->bit_size != 32) in try_fold_load_store()123 if (!nir_src_is_const(*off_src)) { in try_fold_load_store()125 nir_ssa_scalar val = {.def = off_src->ssa, .comp = 0}; in try_fold_load_store()132 } else if (nir_src_as_uint(*off_src) && off_const + nir_src_as_uint(*off_src) <= max) { in try_fold_load_store()133 off_const += nir_src_as_uint(*off_src); in try_fold_load_store()135 replace_src = nir_imm_zero(b, off_src->ssa->num_components, off_src->ssa->bit_size); in try_fold_load_store()157 nir_src *off_src = &intrin->src[offset_src_idx]; in try_fold_shared2() local159 if (!nir_src_is_const(*off_src)) in try_fold_shared2()162 unsigned const_offset = nir_src_as_uint(*off_src); in try_fold_shared2()[all …]
289 nir_src *off_src = nir_get_io_offset_src(intrin); in filter_load_tcs_per_vertex_input() local293 bool can_use_temps = nir_src_is_const(*off_src) && in filter_load_tcs_per_vertex_input()
5221 nir_src* off_src = nir_get_io_offset_src(instr); in load_input_from_temps() local5225 nir_src_is_const(*off_src) && vertex_index_instr->type == nir_instr_type_intrinsic && in load_input_from_temps()5232 4 * nir_src_as_uint(*off_src); in load_input_from_temps()