Searched refs:elem_size (Results 1 - 25 of 78) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dsparse_array.h69 size_t elem_size; member in struct:util_sparse_array
76 size_t elem_size, size_t node_size);
H A Dsparse_array.c40 size_t elem_size, size_t node_size)
43 arr->elem_size = elem_size;
102 size = arr->elem_size << arr->node_size_log2;
191 return (void *)((char *)node_data + (elem_idx * arr->elem_size));
39 util_sparse_array_init(struct util_sparse_array * arr,size_t elem_size,size_t node_size) argument
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-arm-neon-asm.h76 .macro pixldst1 op, elem_size, reg1, mem_operand, abits
78 \op\().\()\elem_size {d\()\reg1}, [\()\mem_operand\(), :\()\abits\()]!
80 \op\().\()\elem_size {d\()\reg1}, [\()\mem_operand\()]!
84 .macro pixldst2 op, elem_size, reg1, reg2, mem_operand, abits
86 \op\().\()\elem_size {d\()\reg1, d\()\reg2}, [\()\mem_operand\(), :\()\abits\()]!
88 \op\().\()\elem_size {d\()\reg1, d\()\reg2}, [\()\mem_operand\()]!
92 .macro pixldst4 op, elem_size, reg1, reg2, reg3, reg4, mem_operand, abits
94 \op\().\()\elem_size {d\()\reg1, d\()\reg2, d\()\reg3, d\()\reg4}, [\()\mem_operand\(), :\()\abits\()]!
96 \op\().\()\elem_size {d\()\reg1, d\()\reg2, d\()\reg3, d\()\reg4}, [\()\mem_operand\()]!
100 .macro pixldst0 op, elem_size, reg
[all...]
H A Dpixman-arma64-neon-asm.h84 .macro pixldst1 op, elem_size, reg1, mem_operand, abits
85 \op {v\()\reg1\().\()\elem_size}, [\()\mem_operand\()], #8
88 .macro pixldst2 op, elem_size, reg1, reg2, mem_operand, abits
89 \op {v\()\reg1\().\()\elem_size, v\()\reg2\().\()\elem_size}, [\()\mem_operand\()], #16
92 .macro pixldst4 op, elem_size, reg1, reg2, reg3, reg4, mem_operand, abits
93 \op {v\()\reg1\().\()\elem_size, v\()\reg2\().\()\elem_size, v\()\reg3\().\()\elem_size, v\()\reg4\().\()\elem_size}, [\()\mem_operan
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglarray.h79 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size,
H A Deglarray.c181 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, argument
199 (void *) ((char *) buffer + elem_size * i));
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Deglarray.h79 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size,
H A Deglarray.c181 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, argument
199 (void *) ((char *) buffer + elem_size * i));
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_memcpy.c101 unsigned elem_size; local in function:type_is_tightly_packed
102 if (!type_is_tightly_packed(elem_type, &elem_size))
105 if (elem_size != stride)
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dvk_util.h119 __vk_outarray_next(struct __vk_outarray *a, size_t elem_size) argument
129 p = (uint8_t *)a->data + (*a->filled_len) * elem_size;
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dmspace.h89 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
102 // size_t elem_size, void* chunks[]);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dglthread_varray.c57 unsigned elem_size = default_elem_size[i]; local in function:_mesa_glthread_reset_vao
58 if (!elem_size)
59 elem_size = 16;
61 vao->Attrib[i].ElementSize = elem_size;
64 vao->Attrib[i].Stride = elem_size;
353 unsigned elem_size = element_size(size, type); local in function:attrib_pointer
355 vao->Attrib[attrib].ElementSize = elem_size;
356 vao->Attrib[attrib].Stride = stride ? stride : elem_size;
405 unsigned elem_size = element_size(size, type); local in function:attrib_format
408 vao->Attrib[i].ElementSize = elem_size;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dnir_types.cpp621 unsigned elem_size, elem_align; local in function:glsl_get_natural_size_align_bytes
623 &elem_size, &elem_align);
625 *size = type->length * ALIGN_POT(elem_size, elem_align);
633 unsigned elem_size, elem_align; local in function:glsl_get_natural_size_align_bytes
635 &elem_size, &elem_align);
637 *size = ALIGN_POT(*size, elem_align) + elem_size;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c199 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local in function:micro_tile_1_x_1_128bit
205 memcpy(dst, src, width * elem_size);
206 dst += dst_pitch * elem_size;
207 src += src_pitch * elem_size;
423 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local in function:micro_untile_1_x_1_128bit
429 memcpy(dst, src, width * elem_size);
430 dst += dst_pitch * elem_size;
431 src += src_pitch * elem_size;
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c199 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local in function:micro_tile_1_x_1_128bit
205 memcpy(dst, src, width * elem_size);
206 dst += dst_pitch * elem_size;
207 src += src_pitch * elem_size;
423 const unsigned elem_size = 16; /* sizeof(uint128_t) */ local in function:micro_untile_1_x_1_128bit
429 memcpy(dst, src, width * elem_size);
430 dst += dst_pitch * elem_size;
431 src += src_pitch * elem_size;
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dnir_types.cpp710 unsigned elem_size = 0, elem_align = 0; local in function:glsl_size_align_handle_array_and_structs
711 size_align(type->fields.array, &elem_size, &elem_align);
713 *size = type->length * ALIGN_POT(elem_size, elem_align);
721 unsigned elem_size = 0, elem_align = 0; local in function:glsl_size_align_handle_array_and_structs
722 size_align(type->fields.structure[i].type, &elem_size, &elem_align);
724 *size = ALIGN_POT(*size, elem_align) + elem_size;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_deref.c143 unsigned elem_size, elem_align; local in function:type_get_array_stride
144 size_align(elem_type, &elem_size, &elem_align);
145 return ALIGN_POT(elem_size, elem_align);
156 unsigned elem_size, elem_align; local in function:struct_type_get_field_offset
157 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align);
160 offset += elem_size;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp275 unsigned elem_size)
277 unsigned array_size = elem_size;
301 return nir_umin(b, offset, nir_imm_int(b, array_size - elem_size));
273 get_aoa_deref_offset(nir_builder * b,nir_deref_instr * deref,unsigned elem_size) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Deg_asm.c84 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
106 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
124 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
161 output->elem_size = G_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(word0);
H A Dr600_asm.h125 unsigned elem_size; member in struct:r600_bytecode_vtx
161 unsigned elem_size; member in struct:r600_bytecode_output
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Deg_asm.c84 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
106 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
124 S_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(cf->output.elem_size) |
161 output->elem_size = G_SQ_CF_ALLOC_EXPORT_WORD0_ELEM_SIZE(word0);
H A Dr600_asm.h129 unsigned elem_size; member in struct:r600_bytecode_vtx
165 unsigned elem_size; member in struct:r600_bytecode_output
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_context.c783 const void *elements, unsigned elem_size,
786 assert(elem_size == 0 ||
787 elem_size == 1 ||
788 elem_size == 2 ||
789 elem_size == 4);
791 draw->pt.user.eltSizeIB = elem_size;
792 if (elem_size)
793 draw->pt.user.eltMax = elem_buffer_space / elem_size;
782 draw_set_indexes(struct draw_context * draw,const void * elements,unsigned elem_size,unsigned elem_buffer_space) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_context.c902 const void *elements, unsigned elem_size,
905 assert(elem_size == 0 ||
906 elem_size == 1 ||
907 elem_size == 2 ||
908 elem_size == 4);
910 draw->pt.user.eltSizeIB = elem_size;
911 if (elem_size)
912 draw->pt.user.eltMax = elem_buffer_space / elem_size;
901 draw_set_indexes(struct draw_context * draw,const void * elements,unsigned elem_size,unsigned elem_buffer_space) argument
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_util.h125 __vk_outarray_next(struct __vk_outarray *a, size_t elem_size) argument
135 p = (uint8_t *)a->data + (*a->filled_len) * elem_size;

Completed in 24 milliseconds

1234