Searched refs:byte_size (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_nir_lower_ubo_loads.c47 unsigned byte_size = bit_size / 8; local in function:lower_ubo_load_instr
54 assert(offset % byte_size == 0);
87 unsigned load_size = byte_size * load->num_components;
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_pipeline_cache.c58 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); local in function:tu_pipeline_cache_init
59 cache->hash_table = malloc(byte_size);
67 memset(cache->hash_table, 0, byte_size);
159 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); local in function:tu_pipeline_cache_grow
163 table = malloc(byte_size);
172 memset(cache->hash_table, 0, byte_size);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_lower_mem_access_bit_sizes.c187 const unsigned byte_size = bit_size / 8; local in function:lower_mem_store_bit_size
188 assert(byte_size <= sizeof(uint64_t));
195 BITSET_SET_RANGE_INSIDE_WORD(mask, i * byte_size, ((i + 1) * byte_size) - 1);
H A Dbrw_nir_lower_rt_intrinsics.c148 unsigned byte_size = bit_size / 8; local in function:lower_rt_intrinsics_impl
156 assert(offset % byte_size == 0);
181 sysval = nir_load_global_constant(b, addr, byte_size,
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_pipeline_cache.c57 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); local in function:tu_pipeline_cache_init
58 cache->hash_table = malloc(byte_size);
66 memset(cache->hash_table, 0, byte_size);
193 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); local in function:tu_pipeline_cache_grow
197 table = malloc(byte_size);
206 memset(cache->hash_table, 0, byte_size);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline_cache.c76 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); local in function:radv_pipeline_cache_init
77 cache->hash_table = malloc(byte_size);
85 memset(cache->hash_table, 0, byte_size);
245 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); local in function:radv_pipeline_cache_grow
249 table = malloc(byte_size);
258 memset(cache->hash_table, 0, byte_size);
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_pipeline_cache.c61 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); local in function:radv_pipeline_cache_init
62 cache->hash_table = malloc(byte_size);
72 memset(cache->hash_table, 0, byte_size);
203 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); local in function:radv_pipeline_cache_grow
207 table = malloc(byte_size);
216 memset(cache->hash_table, 0, byte_size);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dpixelshader9.c76 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
79 This->byte_code.size = info.byte_size;
H A Dvertexshader9.c91 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
94 This->byte_code.size = info.byte_size;
H A Dnine_shader.h52 DWORD byte_size; /* out, size of data at byte_code */ member in struct:nine_shader_info
H A Dnine_shader.c3756 tx->parse++; /* for byte_size */
4010 info->byte_size = (tx->parse - tx->byte_code) * sizeof(DWORD);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dpixelshader9.c77 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
80 This->byte_code.size = info.byte_size;
H A Dvertexshader9.c92 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
95 This->byte_code.size = info.byte_size;
H A Dnine_shader.h53 DWORD byte_size; /* out, size of data at byte_code */ member in struct:nine_shader_info
H A Dnine_shader.c3792 tx->parse++; /* for byte_size */
4163 info->byte_size = (tx->parse - tx->byte_code) * sizeof(DWORD);
/xsrc/external/mit/freetype/dist/src/sfnt/
H A Dttsbit.c1189 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); local in function:tt_sbit_decoder_load_bitmap
1192 if ( bit_size < byte_size &&
1193 byte_size == (FT_UInt)( p_limit - p ) )
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_nir.c166 unsigned byte_size = bit_size / 8; local in function:ir3_nir_should_vectorize_mem
168 int size = num_components * byte_size;
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_io.c2385 const unsigned byte_size = bit_size / 8; local in function:write_constant
2386 assert(num_components * byte_size <= dst_size);
2392 memcpy((char *)dst + i * byte_size, &c->values[i], byte_size);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
H A Dload_store_vectorizer_tests.cpp231 int byte_size = (bit_size == 1 ? 32 : bit_size) / 8; local in function:__anon343ea75b0110::nir_load_store_vectorize_test::create_indirect_load
234 nir_intrinsic_set_align(load, byte_size, 0);
239 uint32_t range = byte_size * components;

Completed in 28 milliseconds