HomeSort by relevance Sort by last modified time
    Searched refs:num_components (Results 1 - 25 of 201) sorted by null

1 2 3 4 5 6 7 8 9

  /external/mesa3d/src/compiler/nir/
nir_constant_expressions.h 30 nir_const_value nir_eval_const_opcode(nir_op op, unsigned num_components,
nir_builder.h 85 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size)
88 nir_ssa_undef_instr_create(build->shader, num_components, bit_size);
98 nir_build_imm(nir_builder *build, unsigned num_components,
102 nir_load_const_instr_create(build->shader, num_components, bit_size);
196 unsigned num_components = op_info->output_size; local
197 if (num_components == 0) {
200 num_components = MAX2(num_components,
201 instr->src[i].src.ssa->num_components);
204 assert(num_components != 0)
396 unsigned num_components = nir_ssa_alu_instr_src_components(instr, srcn); local
409 const unsigned num_components = glsl_get_vector_elements(var->type); local
425 const unsigned num_components = glsl_get_vector_elements(type); local
441 const unsigned num_components = glsl_get_vector_elements(var->type); local
456 const unsigned num_components = local
    [all...]
nir_lower_io_to_scalar.c 29 * Replaces nir_load_input/nir_store_output operations with num_components !=
42 for (unsigned i = 0; i < intr->num_components; i++) {
47 chan_intr->num_components = 1;
61 intr->num_components)));
70 nir_ssa_def *value = nir_ssa_for_src(b, intr->src[0], intr->num_components);
72 for (unsigned i = 0; i < intr->num_components; i++) {
78 chan_intr->num_components = 1;
110 if (intr->num_components == 1)
nir_lower_regs_to_ssa.c 98 nir_ssa_dest_init(instr, dest, reg->num_components,
120 if (write_mask == (1 << reg->num_components) - 1) {
133 unsigned num_components; local
139 num_components = 0;
142 vec_swizzle[index] = num_components++;
169 assert(ssa_index == num_components);
172 num_components = nir_op_infos[alu->op].output_size;
174 assert(num_components <= 4);
176 alu->dest.write_mask = (1 << num_components) - 1;
178 nir_ssa_dest_init(&alu->instr, &alu->dest.dest, num_components,
    [all...]
nir_search_helpers.h 39 is_pos_power_of_two(nir_alu_instr *instr, unsigned src, unsigned num_components,
48 for (unsigned i = 0; i < num_components; i++) {
69 is_neg_power_of_two(nir_alu_instr *instr, unsigned src, unsigned num_components,
78 for (unsigned i = 0; i < num_components; i++) {
95 is_zero_to_one(nir_alu_instr *instr, unsigned src, unsigned num_components,
103 for (unsigned i = 0; i < num_components; i++) {
nir_phi_builder.h 77 nir_phi_builder_add_value(struct nir_phi_builder *pb, unsigned num_components,
nir_lower_load_const_to_scalar.c 41 if (lower->def.num_components == 1)
50 for (unsigned i = 0; i < lower->def.num_components; i++) {
63 nir_ssa_def *vec = nir_vec(&b, loads, lower->def.num_components);
nir_lower_var_copies.c 119 unsigned num_components = glsl_get_vector_elements(src_tail->type); local
124 load->num_components = num_components;
126 nir_ssa_dest_init(&load->instr, &load->dest, num_components, bit_size,
133 store->num_components = num_components;
134 nir_intrinsic_set_write_mask(store, (1 << num_components) - 1);
nir_search.c 40 unsigned num_components, const uint8_t *swizzle,
96 unsigned num_components, const uint8_t *swizzle,
115 num_components = nir_op_infos[instr->op].input_sizes[src];
119 for (unsigned i = 0; i < num_components; ++i)
134 num_components, new_swizzle, state);
146 for (unsigned i = 0; i < num_components; ++i) {
157 if (var->cond && !var->cond(instr, src, num_components, new_swizzle))
170 if (i < num_components)
194 for (unsigned i = 0; i < num_components; ++i) {
217 for (unsigned i = 0; i < num_components; ++i)
    [all...]
nir_lower_alu_to_scalar.c 34 nir_alu_ssa_dest_init(nir_alu_instr *instr, unsigned num_components,
37 nir_ssa_dest_init(&instr->instr, &instr->dest.dest, num_components,
39 instr->dest.write_mask = (1 << num_components) - 1;
46 unsigned num_components = nir_op_infos[instr->op].input_sizes[0]; local
49 for (unsigned i = 0; i < num_components; i++) {
206 if (instr->dest.dest.ssa.num_components == 1)
209 unsigned num_components = instr->dest.dest.ssa.num_components; local
238 nir_ssa_def *vec = nir_vec(b, comps, num_components);
  /external/mesa3d/src/compiler/glsl/
opt_swizzle_swizzle.cpp 61 if (swiz2->mask.num_components >= 1)
63 if (swiz2->mask.num_components >= 2)
65 if (swiz2->mask.num_components >= 3)
67 if (swiz2->mask.num_components >= 4)
70 if (ir->mask.num_components >= 1)
72 if (ir->mask.num_components >= 2)
74 if (ir->mask.num_components >= 3)
76 if (ir->mask.num_components >= 4)
  /external/mesa3d/prebuilt-intermediates/nir/
nir_constant_expressions.c 254 evaluate_b2f(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
264 for (unsigned _i = 0; _i < num_components; _i++) {
278 for (unsigned _i = 0; _i < num_components; _i++) {
296 evaluate_b2i(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
306 for (unsigned _i = 0; _i < num_components; _i++) {
320 for (unsigned _i = 0; _i < num_components; _i++) {
338 evaluate_ball_fequal2(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
404 evaluate_ball_fequal3(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
470 evaluate_ball_fequal4(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
536 evaluate_ball_iequal2(MAYBE_UNUSED unsigned num_components, unsigned bit_size
    [all...]
  /hardware/intel/common/libva/va/
va_dec_jpeg.h 72 unsigned char num_components; member in struct:_VAPictureParameterBufferJPEGBaseline
166 unsigned char num_components; member in struct:_VASliceParameterBufferJPEGBaseline
va_enc_jpeg.h 102 unsigned short num_components; member in struct:_VAEncPictureParameterBufferJPEG
123 unsigned short num_components; member in struct:_VAEncSliceParameterBufferJPEG
  /external/tensorflow/tensorflow/core/grappler/utils/
scc.cc 128 int* num_components) {
152 *num_components = 0;
157 StrongConnect(&v, &stack, &index, components, num_components);
161 std::vector<int> counts_per_component(*num_components, 0);
164 DCHECK(component.second < *num_components);
171 (*num_components)--;
176 (*num_components) += 1;
182 int num_components = 0; local
184 StronglyConnectedComponents(graph, &components, &num_components);
185 if (num_components <= 1)
227 int num_components = 0; local
    [all...]
scc_test.cc 62 int num_components; local
63 StronglyConnectedComponents(item.graph, &components, &num_components);
65 EXPECT_EQ(num_components, 1);
92 int num_components; local
94 StronglyConnectedComponents(graph, &components, &num_components);
96 EXPECT_EQ(num_components, 2);
155 int num_components; local
157 StronglyConnectedComponents(graph, &components, &num_components);
159 EXPECT_EQ(num_components, 4);
391 int num_components; local
    [all...]
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
mixture_test.py 110 def make_univariate_mixture(batch_shape, num_components, use_static_graph):
113 array_ops.concat((batch_shape, [num_components]), axis=0),
119 for _ in range(num_components)
125 def make_multivariate_mixture(batch_shape, num_components, event_shape,
131 array_ops.concat((batch_shape_tensor, [num_components]), 0),
134 tensor_shape.TensorShape(batch_shape).concatenate(num_components))
146 components = [create_component() for _ in range(num_components)]
157 dist = make_univariate_mixture(batch_shape, num_components=10,
166 batch_shape, num_components=10, event_shape=event_shape,
252 batch_shape=batch_shape, num_components=2
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_nir_tcs_workarounds.c 76 load_output(nir_builder *b, int num_components, int offset, int component)
80 nir_ssa_dest_init(&load->instr, &load->dest, num_components, 32, NULL);
81 load->num_components = num_components;
115 store->num_components = 2;
brw_nir_opt_peephole_ffma.c 71 get_mul_for_src(nir_alu_src *src, int num_components,
96 alu = get_mul_for_src(&alu->src[0], num_components, swizzle, negate, abs);
100 alu = get_mul_for_src(&alu->src[0], num_components, swizzle, negate, abs);
105 alu = get_mul_for_src(&alu->src[0], num_components, swizzle, negate, abs);
136 for (int i = 0; i < num_components; i++)
202 add->dest.dest.ssa.num_components,
243 for (unsigned j = 0; j < add->dest.dest.ssa.num_components; j++)
251 add->dest.dest.ssa.num_components,
  /external/libjpeg-turbo/
jcparam.c 353 cinfo->num_components = 1;
359 cinfo->num_components = 3;
366 cinfo->num_components = 3;
375 cinfo->num_components = 4;
383 cinfo->num_components = 4;
390 cinfo->num_components = cinfo->input_components;
391 if (cinfo->num_components < 1 || cinfo->num_components > MAX_COMPONENTS)
392 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components,
394 for (ci = 0; ci < cinfo->num_components; ci++)
    [all...]
jcprepct.c 158 for (ci = 0; ci < cinfo->num_components; ci++) {
177 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
221 for (ci = 0; ci < cinfo->num_components; ci++) {
239 for (ci = 0; ci < cinfo->num_components; ci++) {
283 (cinfo->num_components * 5 * rgroup_height) *
286 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
348 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_compiler.h 49 int num_components; member in struct:etna_shader_inout
96 uint8_t num_components; member in struct:etna_varying
etnaviv_shader.c 76 link.varyings[idx].num_components, "xyzw",
84 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2)
145 DEFINE_ETNA_BITARRAY(num_components, ETNA_NUM_VARYINGS, 4) = {0};
150 etna_bitarray_set(num_components, 4, idx, varying->num_components);
151 for (int comp = 0; comp < varying->num_components; ++comp) {
159 cs->GL_VARYING_NUM_COMPONENTS = num_components[0];
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/
validate_datarules.cpp 41 const uint32_t num_components = inst->words[inst->operands[2].offset]; local
42 if (num_components == 2 || num_components == 3 || num_components == 4) {
45 if (num_components == 8 || num_components == 16) {
50 << "Having " << num_components << " components for "
55 << "Illegal number of components (" << num_components << ") for "
  /external/tensorflow/tensorflow/core/kernels/
fifo_queue.cc 43 (*tuple).reserve(num_components());
44 for (int i = 0; i < num_components(); ++i) {
69 for (int i = 0; i < num_components(); ++i) {
131 for (int i = 0; i < num_components(); ++i) {
207 tuple.reserve(num_components());
208 for (int i = 0; i < num_components(); ++i) {
271 for (int j = 0; j < num_components(); ++j) {
315 attempt->tuple.reserve(num_components());
316 for (int i = 0; i < num_components(); ++i) {
331 for (int i = 0; i < num_components(); ++i)
    [all...]

Completed in 204 milliseconds

1 2 3 4 5 6 7 8 9