Home
last modified time | relevance | path

Searched refs:array_elements (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/glsl/
Dlink_uniform_initializers.cpp106 element_type, val->array_elements[i]); in set_uniform_initializer()
122 val->array_elements[0]->type->base_type; in set_uniform_initializer()
123 const unsigned int elements = val->array_elements[0]->type->components(); in set_uniform_initializer()
126 assert(val->type->length >= storage->array_elements); in set_uniform_initializer()
127 for (unsigned int i = 0; i < storage->array_elements; i++) { in set_uniform_initializer()
129 val->array_elements[i], in set_uniform_initializer()
137 for (unsigned int i = 0; i < storage->array_elements; i++) { in set_uniform_initializer()
Dir.cpp605 this->array_elements = ralloc_array(this, ir_constant *, type->length); in ir_constant()
611 this->array_elements[i++] = value; in ir_constant()
743 c->array_elements = ralloc_array(c, ir_constant *, type->length); in zero()
746 c->array_elements[i] = ir_constant::zero(c, type->element_type()); in zero()
847 return array_elements[i]; in get_array_element()
920 this->array_elements[i] = src->array_elements[i]->clone(this, NULL); in copy_offset()
973 if (!this->array_elements[i]->has_value(c->array_elements[i])) in has_value()
1667 steal_memory(constant->array_elements[i], ir); in steal_memory()
Dlink_uniforms.cpp281 const unsigned count = MAX2(1, this->uniforms[id].array_elements); in visit_field()
298 this->uniforms[id].array_elements = type->length; in visit_field()
301 this->uniforms[id].array_elements = 0; in visit_field()
311 this->next_sampler += MAX2(1, this->uniforms[id].array_elements); in visit_field()
Dir_uniform.h91 unsigned array_elements; member
Dir_clone.cpp375 c->array_elements = ralloc_array(c, ir_constant *, this->type->length); in clone()
377 c->array_elements[i] = this->array_elements[i]->clone(mem_ctx, NULL); in clone()
Dir.h1799 ir_constant **array_elements; variable
/external/mesa3d/src/mesa/main/
Duniform_query.cpp69 *size = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformARB()
120 params[i] = MAX2(1, uni->array_elements); in _mesa_GetActiveUniformsiv()
237 if (shProg->UniformStorage[*loc].array_elements == 0 && count > 1) { in validate_uniform_parameters()
248 unsigned limit = shProg->UniformStorage[*loc].array_elements; in validate_uniform_parameters()
737 if (uni->array_elements != 0) { in _mesa_uniform()
738 count = MIN2(count, (int) (uni->array_elements - offset)); in _mesa_uniform()
891 if (uni->array_elements != 0) { in _mesa_uniform_matrix()
892 count = MIN2(count, (int) (uni->array_elements - offset)); in _mesa_uniform_matrix()
1031 && offset >= shProg->UniformStorage[location].array_elements) { in _mesa_get_uniform_location()
/external/mesa3d/src/glsl/tests/
Duniform_initializer_utils.cpp189 const glsl_type *const element_type = val->array_elements[0]->type; in verify_data()
193 val->array_elements[i], 0); in verify_data()
Dset_uniform_initializer_tests.cpp117 prog->UniformStorage[index_to_set].array_elements = array_size; in establish_uniform_storage()
135 prog->UniformStorage[i].array_elements = 0; in establish_uniform_storage()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.cpp675 unsigned int array_elements; in emit_general_interpolation() local
679 array_elements = ir->type->length; in emit_general_interpolation()
680 if (array_elements == 0) { in emit_general_interpolation()
685 array_elements = 1; in emit_general_interpolation()
693 for (unsigned int i = 0; i < array_elements; i++) { in emit_general_interpolation()
Dbrw_fs_visitor.cpp1458 ir->array_elements[i]->accept(this); in visit()
Dbrw_vec4_visitor.cpp1748 emit_constant_values(dst, ir->array_elements[i]); in emit_constant_values()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g321 array_elements returns[List<Number> elements]
1198 ^(I_STATEMENT_ARRAY_DATA ^(I_ARRAY_ELEMENT_SIZE short_integral_literal) array_elements)
1201 List<Number> elements = $array_elements.elements;
1203 …$method::methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, $array_elements.elemen…
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp1897 ir->array_elements[i]->accept(this); in visit()
2542 MAX2(1, storage->array_elements)); in _mesa_associate_uniform_storage()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2363 ir->array_elements[i]->accept(this); in visit()
2947 element = val->array_elements[i]; in set_uniform_initializer()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java1885 public final List<Number> array_elements() throws RecognitionException { in array_elements() method in smaliTreeWalker
6210 array_elements190=array_elements(); in insn_array_data_directive()