Searched refs:idx_lvl (Results 1 – 1 of 1) sorted by relevance
1013 unsigned idx_lvl = 1; in get_deref_offset() local1019 *vertex_index_ref = get_src(bld_base, path.path[idx_lvl]->arr.index); in get_deref_offset()1023 *vertex_index_out = nir_src_as_uint(path.path[idx_lvl]->arr.index); in get_deref_offset()1025 ++idx_lvl; in get_deref_offset()1037 for (; path.path[idx_lvl]; ++idx_lvl) { in get_deref_offset()1038 const struct glsl_type *parent_type = path.path[idx_lvl - 1]->type; in get_deref_offset()1039 if (path.path[idx_lvl]->deref_type == nir_deref_type_struct) { in get_deref_offset()1040 unsigned index = path.path[idx_lvl]->strct.index; in get_deref_offset()1046 } else if(path.path[idx_lvl]->deref_type == nir_deref_type_array) { in get_deref_offset()1047 unsigned size = glsl_count_attribute_slots(path.path[idx_lvl]->type, vs_in); in get_deref_offset()[all …]