Searched refs:index_vec (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_soa.c | 779 LLVMValueRef index_vec; in get_soa_array_offsets() local 782 index_vec = lp_build_shl_imm(uint_bld, indirect_index, 2); in get_soa_array_offsets() 783 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets() 784 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets() 796 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets() 798 return index_vec; in get_soa_array_offsets() 834 LLVMValueRef index_vec; /* index into the const buffer */ in emit_fetch_constant() local 854 index_vec = lp_build_shl_imm(uint_bld, indirect_index, 2); in emit_fetch_constant() 855 index_vec = lp_build_add(uint_bld, index_vec, swizzle_vec); in emit_fetch_constant() 864 res = build_gather(bld_base, consts_ptr, index_vec, overflow_mask, index_vec2); in emit_fetch_constant() [all …]
|
D | lp_bld_nir_soa.c | 164 LLVMValueRef index_vec; in get_soa_array_offsets() local 167 …index_vec = lp_build_mul(uint_bld, indirect_index, lp_build_const_int_vec(uint_bld->gallivm, uint_… in get_soa_array_offsets() 168 index_vec = lp_build_add(uint_bld, index_vec, chan_vec); in get_soa_array_offsets() 169 index_vec = lp_build_mul(uint_bld, index_vec, length_vec); in get_soa_array_offsets() 181 index_vec = lp_build_add(uint_bld, index_vec, pixel_offsets); in get_soa_array_offsets() 183 return index_vec; in get_soa_array_offsets() 429 LLVMValueRef index_vec = get_soa_array_offsets(&bld_base->uint_bld, in emit_load_var() local 443 … result[i] = build_gather(bld_base, &bld_base->base, inputs_array, index_vec, NULL, index_vec2); in emit_load_var()
|