Searched refs:field_size (Results 1 - 5 of 5) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_internal.h | 264 * field_size must be a power of two, and <= 32. */ 265 #define DEFINE_ETNA_BITARRAY(name, num, field_size) \ 266 uint32_t name[(num) * (field_size) / 32] 269 etna_bitarray_set(uint32_t *array, size_t array_size, size_t field_size, argument 272 size_t shift = (index * field_size) % 32; 273 size_t offset = (index * field_size) / 32; 275 assert(index < array_size * 32 / field_size); 276 assert(value < 1 << field_size); 281 #define etna_bitarray_set(array, field_size, index, value) \ 282 etna_bitarray_set((array), ARRAY_SIZE(array), field_size, inde [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_internal.h | 278 * field_size must be a power of two, and <= 32. */ 279 #define DEFINE_ETNA_BITARRAY(name, num, field_size) \ 280 uint32_t name[(num) * (field_size) / 32] 283 etna_bitarray_set(uint32_t *array, size_t array_size, size_t field_size, argument 286 size_t shift = (index * field_size) % 32; 287 size_t offset = (index * field_size) / 32; 289 assert(index < array_size * 32 / field_size); 290 assert(value < 1 << field_size); 295 #define etna_bitarray_set(array, field_size, index, value) \ 296 etna_bitarray_set((array), ARRAY_SIZE(array), field_size, inde [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_opt_memcpy.c | 85 unsigned field_size; local in function:type_is_tightly_packed 86 if (!type_is_tightly_packed(field->type, &field_size)) 89 size = field->offset + field_size;
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| H A D | vk_cmd_queue_gen.py | 274 field_size = "1" 276 field_size = "sizeof(*%s)" % field_name 277 allocation = "%s = vk_zalloc(queue->alloc, %s * %s, 8, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND);" % (field_name, field_size, param.len) 279 copy = "memcpy((%s)%s, %s, %s * %s);" % (const_cast, field_name, param.name, field_size, param.len)
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/ |
| H A D | glsl_types.cpp | 2641 unsigned field_size, field_align; local in function:glsl_type::get_explicit_type_for_size_align 2643 fields[i].type->get_explicit_type_for_size_align(type_info, &field_size, &field_align); 2647 *size = fields[i].offset + field_size;
|
Completed in 9 milliseconds