Searched refs:idx_lvl (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_shader_info.c58 unsigned idx_lvl = 1; local in function:get_deref_offset
70 for (; path.path[idx_lvl]; ++idx_lvl) {
71 const struct glsl_type *parent_type = path.path[idx_lvl - 1]->type;
72 if (path.path[idx_lvl]->deref_type == nir_deref_type_struct) {
73 unsigned index = path.path[idx_lvl]->strct.index;
79 } else if(path.path[idx_lvl]->deref_type == nir_deref_type_array) {
80 unsigned size = glsl_count_attribute_slots(path.path[idx_lvl]->type, false);
81 if (nir_src_is_const(path.path[idx_lvl]->arr.index))
82 const_offset += nir_src_as_uint(path.path[idx_lvl]
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.c1143 unsigned idx_lvl = 1; local in function:get_deref_offset
1149 *vertex_index_ref = get_src(bld_base, path.path[idx_lvl]->arr.index);
1153 *vertex_index_out = nir_src_as_uint(path.path[idx_lvl]->arr.index);
1155 ++idx_lvl;
1167 for (; path.path[idx_lvl]; ++idx_lvl) {
1168 const struct glsl_type *parent_type = path.path[idx_lvl - 1]->type;
1169 if (path.path[idx_lvl]->deref_type == nir_deref_type_struct) {
1170 unsigned index = path.path[idx_lvl]->strct.index;
1176 } else if(path.path[idx_lvl]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_nir_to_llvm.c1863 unsigned idx_lvl = 1; local in function:get_deref_offset
1869 *vertex_index_ref = get_src(ctx, path.path[idx_lvl]->arr.index);
1873 *vertex_index_out = nir_src_as_uint(path.path[idx_lvl]->arr.index);
1875 ++idx_lvl;
1887 for (; path.path[idx_lvl]; ++idx_lvl) {
1888 const struct glsl_type *parent_type = path.path[idx_lvl - 1]->type;
1889 if (path.path[idx_lvl]->deref_type == nir_deref_type_struct) {
1890 unsigned index = path.path[idx_lvl]->strct.index;
1896 } else if(path.path[idx_lvl]
[all...]

Completed in 8 milliseconds