Home
last modified time | relevance | path

Searched refs:num_offsets (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_inline_uniforms.c51 uint32_t *uni_offsets, unsigned *num_offsets) in src_only_uses_uniforms() argument
68 uni_offsets, num_offsets); in src_only_uses_uniforms()
81 uni_offsets, num_offsets)) in src_only_uses_uniforms()
89 uni_offsets, num_offsets)) in src_only_uses_uniforms()
113 for (int i = 0; i < *num_offsets; i++) { in src_only_uses_uniforms()
119 if (*num_offsets == MAX_INLINABLE_UNIFORMS) in src_only_uses_uniforms()
123 uni_offsets[(*num_offsets)++] = offset; in src_only_uses_uniforms()
140 uint32_t *uni_offsets, unsigned *num_offsets) in is_induction_variable() argument
165 uni_offsets, num_offsets)) in is_induction_variable()
173 uni_offsets, num_offsets)) in is_induction_variable()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_median_filter.c78 unsigned num_offsets) in create_frag_shader() argument
84 struct ureg_dst *t_array = MALLOC(sizeof(struct ureg_dst) * num_offsets); in create_frag_shader()
86 const unsigned median = num_offsets >> 1; in create_frag_shader()
89 assert(num_offsets & 1); /* we need an odd number of offsets */ in create_frag_shader()
90 if (!(num_offsets & 1)) { /* yeah, we REALLY need an odd number of offsets!!! */ in create_frag_shader()
95 if (num_offsets > screen->get_shader_param( in create_frag_shader()
116 for (i = 0; i < num_offsets; ++i) in create_frag_shader()
126 for (i = 0; i < num_offsets; ++i) { in create_frag_shader()
135 for (i = 0; i < num_offsets; ++i) { in create_frag_shader()
142 for (j = 1; j < (num_offsets - i - 1); ++j) { in create_frag_shader()
[all …]
Dvl_matrix_filter.c78 create_frag_shader(struct vl_matrix_filter *filter, unsigned num_offsets, in create_frag_shader() argument
107 for (i = 0; i < num_offsets; ++i) { in create_frag_shader()
142 unsigned i, num_offsets = matrix_width * matrix_height; in vl_matrix_filter_init() local
201 offsets = MALLOC(sizeof(struct vertex2f) * num_offsets); in vl_matrix_filter_init()
212 for (i = 0; i < num_offsets; ++i) { in vl_matrix_filter_init()
221 filter->fs = create_frag_shader(filter, num_offsets, offsets, matrix_values); in vl_matrix_filter_init()
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range01.c188 int num_offsets = ARRAY_SIZE(off_arr_values) + 1; in copy_file_range_verify() local
189 loff_t *off_arr[num_offsets]; in copy_file_range_verify()
192 for (i = 1; i < num_offsets; i++) in copy_file_range_verify()
197 for (j = 0; j < num_offsets; j++) in copy_file_range_verify()
198 for (k = 0; k < num_offsets; k++) { in copy_file_range_verify()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUComputePassEncoder.cpp90 uint32_t num_offsets = 0; in setBindGroup() local
91 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
95 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
DGPURenderBundleEncoder.cpp50 uint32_t num_offsets = 0; in setBindGroup() local
51 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
55 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
DGPURenderPassEncoder.cpp125 uint32_t num_offsets = 0; in setBindGroup() local
126 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
130 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh89 unsigned num_offsets = padded_offsets.len () + 1; in _add_loca_and_head() local
92 char *loca_prime_data = (char *) calloc (entry_size, num_offsets); in _add_loca_and_head()
96 … num_offsets %d max_offset %d size %d", entry_size, num_offsets, max_offset, entry_size * num_offs… in _add_loca_and_head()
99 _write_loca (padded_offsets, 1, hb_array ((HBUINT16*) loca_prime_data, num_offsets)); in _add_loca_and_head()
101 _write_loca (padded_offsets, 0, hb_array ((HBUINT32*) loca_prime_data, num_offsets)); in _add_loca_and_head()
104 entry_size * num_offsets, in _add_loca_and_head()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh102 unsigned num_offsets = padded_offsets.len () + 1; in _add_loca_and_head() local
105 char *loca_prime_data = (char *) hb_calloc (entry_size, num_offsets); in _add_loca_and_head()
111 entry_size, num_offsets, max_offset, entry_size * num_offsets); in _add_loca_and_head()
114 _write_loca (padded_offsets, 1, hb_array ((HBUINT16 *) loca_prime_data, num_offsets)); in _add_loca_and_head()
116 _write_loca (padded_offsets, 0, hb_array ((HBUINT32 *) loca_prime_data, num_offsets)); in _add_loca_and_head()
119 entry_size * num_offsets, in _add_loca_and_head()
/third_party/harfbuzz/src/
Dhb-ot-glyf-table.hh98 unsigned num_offsets = padded_offsets.len () + 1; in _add_loca_and_head() local
101 char *loca_prime_data = (char *) calloc (entry_size, num_offsets); in _add_loca_and_head()
107 entry_size, num_offsets, max_offset, entry_size * num_offsets); in _add_loca_and_head()
110 _write_loca (padded_offsets, 1, hb_array ((HBUINT16 *) loca_prime_data, num_offsets)); in _add_loca_and_head()
112 _write_loca (padded_offsets, 0, hb_array ((HBUINT32 *) loca_prime_data, num_offsets)); in _add_loca_and_head()
115 entry_size * num_offsets, in _add_loca_and_head()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format1.cc248 int32_t num_offsets = (last_glyph_index() - first_glyph_index() + 1) + 1; in Initialize() local
249 for (int32_t i = 0; i < num_offsets; ++i) { in Initialize()
Dindex_sub_table_format3.cc244 int32_t num_offsets = (last_glyph_index() - first_glyph_index() + 1) + 1; in Initialize() local
245 for (int32_t i = 0; i < num_offsets; ++i) { in Initialize()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format1.cc248 int32_t num_offsets = (last_glyph_index() - first_glyph_index() + 1) + 1; in Initialize() local
249 for (int32_t i = 0; i < num_offsets; ++i) { in Initialize()
Dindex_sub_table_format3.cc244 int32_t num_offsets = (last_glyph_index() - first_glyph_index() + 1) + 1; in Initialize() local
245 for (int32_t i = 0; i < num_offsets; ++i) { in Initialize()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c2076 unsigned num_derivs, num_offsets, i; in emit_tex() local
2096 num_offsets = 1; in emit_tex()
2104 num_offsets = 2; in emit_tex()
2112 num_offsets = 1; in emit_tex()
2118 num_offsets = 2; in emit_tex()
2124 num_offsets = 2; in emit_tex()
2128 num_offsets = 2; in emit_tex()
2132 num_offsets = 3; in emit_tex()
2137 num_offsets = 2; in emit_tex()
2141 num_offsets = 2; in emit_tex()
[all …]
Dlp_bld_sample_soa.c3904 unsigned *num_offsets, unsigned *layer) in get_target_info() argument
3908 *num_offsets = dims; in get_target_info()
3952 unsigned i, num_coords, num_derivs, num_offsets, layer; in lp_build_sample_gen_func() local
3964 &num_coords, &num_derivs, &num_offsets, &layer); in lp_build_sample_gen_func()
4002 for (i = 0; i < num_offsets; i++) { in lp_build_sample_gen_func()
4077 unsigned i, num_coords, num_derivs, num_offsets, layer; in lp_build_sample_soa_func() local
4093 &num_coords, &num_derivs, &num_offsets, &layer); in lp_build_sample_soa_func()
4151 for (i = 0; i < num_offsets; i++) { in lp_build_sample_soa_func()
4218 for (i = 0; i < num_offsets; i++) { in lp_build_sample_soa_func()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c743 unsigned num_offsets, in tgsi_build_instruction_texture() argument
751 instruction_texture.NumOffsets = num_offsets; in tgsi_build_instruction_texture()
Dtgsi_ureg.h600 unsigned num_offsets);
Dtgsi_ureg.c1335 enum tgsi_return_type return_type, unsigned num_offsets) in ureg_emit_texture() argument
1346 out[0].insn_texture.NumOffsets = num_offsets; in ureg_emit_texture()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1172 unsigned num_offsets = 0; in sample_ureg_emit() local
1181 num_offsets = 1; in sample_ureg_emit()
1199 &texoffsets, num_offsets, in sample_ureg_emit()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4799 int num_offsets = instr->src[offset_src].src.ssa->num_components; in visit_tex() local
4800 num_offsets = MIN2(num_offsets, instr->coord_components); in visit_tex()
4801 for (unsigned i = 0; i < num_offsets; ++i) { in visit_tex()