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

/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.h277 LLVMTypeRef arr_type = LLVMArrayType(LLVMTypeOf(values[0]), value_count); local in function:lp_nir_array_build_gather_values
278 LLVMValueRef arr = LLVMGetUndef(arr_type);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_deref.c248 const struct glsl_type *arr_type = nir_deref_instr_parent(deref)->type; local in function:nir_deref_instr_array_stride
249 unsigned stride = glsl_get_explicit_stride(arr_type);
251 if ((glsl_type_is_matrix(arr_type) &&
252 glsl_matrix_type_is_row_major(arr_type)) ||
253 (glsl_type_is_vector(arr_type) && stride == 0))
254 stride = type_scalar_size_bytes(arr_type);

Completed in 5 milliseconds