Home
last modified time | relevance | path

Searched refs:remap_table (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_loop_unroll.c168 struct hash_table *remap_table = _mesa_pointer_hash_table_create(NULL); in simple_unroll() local
173 remap_table); in simple_unroll()
179 remap_table); in simple_unroll()
184 remap_table); in simple_unroll()
199 remap_table); in simple_unroll()
209 _mesa_hash_table_destroy(remap_table, NULL); in simple_unroll()
240 struct hash_table *remap_table, in complex_unroll_loop_body() argument
270 cursor, remap_table); in complex_unroll_loop_body()
278 remap_table); in complex_unroll_loop_body()
418 struct hash_table *remap_table = _mesa_pointer_hash_table_create(NULL); in complex_unroll() local
[all …]
Dnir_control_flow.h146 struct hash_table *remap_table);
151 struct hash_table *remap_table) in nir_cf_list_clone_and_reinsert() argument
154 nir_cf_list_clone(&list, src_list, parent, remap_table); in nir_cf_list_clone_and_reinsert()
Dnir_clone.c46 struct hash_table *remap_table; member
56 init_clone_state(clone_state *state, struct hash_table *remap_table, in init_clone_state() argument
62 if (remap_table) { in init_clone_state()
63 state->remap_table = remap_table; in init_clone_state()
65 state->remap_table = _mesa_pointer_hash_table_create(NULL); in init_clone_state()
74 _mesa_hash_table_destroy(state->remap_table, NULL); in free_clone_state()
88 if (unlikely(!state->remap_table)) { in _lookup_ptr()
93 entry = _mesa_hash_table_search(state->remap_table, ptr); in _lookup_ptr()
105 _mesa_hash_table_insert(state->remap_table, ptr, nptr); in add_remap()
262 if (likely(state->remap_table)) in __clone_dst()
[all …]
Dnir_serialize.c44 struct hash_table *remap_table; member
95 _mesa_hash_table_insert(ctx->remap_table, obj, (void *)(uintptr_t) index); in write_add_object()
101 struct hash_entry *entry = _mesa_hash_table_search(ctx->remap_table, obj); in write_lookup_object()
2013 ctx.remap_table = _mesa_pointer_hash_table_create(NULL); in nir_serialize()
2059 _mesa_hash_table_destroy(ctx.remap_table, NULL); in nir_serialize()
/external/mesa3d/src/mapi/glapi/gen/
Dgl_table.py145 remap_table = "driDispatchRemapTable"
147 print('#define %s_size %u' % (remap_table, count))
148 print('extern int %s[ %s_size ];' % (remap_table, remap_table))
157 print('#define _gloffset_%s %s[%s_remap_index]' % (f.name, remap_table, f.name))
DSConscript20 command = python_cmd + ' $SCRIPT -m remap_table -f $SOURCE > $TARGET',
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c65 unsigned *remap_table; in rc_remove_unused_constants() local
101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
107 remap_table[new_count] = i; in rc_remove_unused_constants()
140 *out_remap_table = remap_table; in rc_remove_unused_constants()
143 free(remap_table); in rc_remove_unused_constants()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c70 struct hash_table *remap_table; member
147 nir_deref_path_init(&path, deref, state->remap_table); in lower_deref()
150 char *name = ralloc_asprintf(state->remap_table, "lower@%s", var->name); in lower_deref()
188 _mesa_hash_table_search_pre_hashed(state->remap_table, hash, name); in lower_deref()
203 _mesa_hash_table_insert_pre_hashed(state->remap_table, hash, name, var); in lower_deref()
353 state.remap_table = _mesa_hash_table_create(NULL, _mesa_hash_string, in gl_nir_lower_samplers_as_deref()
362 _mesa_hash_table_destroy(state.remap_table, NULL); in gl_nir_lower_samplers_as_deref()
Dserialize.cpp579 gl_uniform_storage **remap_table) in write_uniform_remap_table() argument
584 gl_uniform_storage *entry = remap_table[i]; in write_uniform_remap_table()
591 } else if (i+1 < num_entries && entry == remap_table[i+1]) { in write_uniform_remap_table()
599 if (entry != remap_table[j]) in write_uniform_remap_table()
644 struct gl_uniform_storage **remap_table = in read_uniform_remap_table() local
652 remap_table[i] = INACTIVE_UNIFORM_EXPLICIT_LOCATION; in read_uniform_remap_table()
654 remap_table[i] = NULL; in read_uniform_remap_table()
661 remap_table[i+j] = entry; in read_uniform_remap_table()
665 remap_table[i] = uniform_storage + uni_offset; in read_uniform_remap_table()
668 return remap_table; in read_uniform_remap_table()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_shader.c111 int8_t remap_table[MAX_GENERIC_VARYING]) in svga_remap_generics()
117 remap_table[i] = -1; in svga_remap_generics()
123 remap_table[index] = count++; in svga_remap_generics()
141 svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING], in svga_remap_generic_index()
151 if (remap_table[generic_index] == -1) { in svga_remap_generic_index()
157 max = MAX2(max, remap_table[i]); in svga_remap_generic_index()
159 remap_table[generic_index] = max + 1; in svga_remap_generic_index()
162 return remap_table[generic_index]; in svga_remap_generic_index()
Dsvga_shader.h382 int8_t remap_table[MAX_GENERIC_VARYING]);
385 svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING],
/external/mesa3d/src/mesa/main/
Dmeson.build25 command : [prog_python, '@INPUT0@', '-f', '@INPUT1@', '-m', 'remap_table'],
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c230 if (buf->remap_table){ in r300_emit_fs_constants()
232 float *data = (float*)&buf->ptr[buf->remap_table[i]*4]; in r300_emit_fs_constants()
295 if (buf->remap_table){ in r500_emit_fs_constants()
297 uint32_t *data = &buf->ptr[buf->remap_table[i]*4]; in r500_emit_fs_constants()
1182 if (buf->remap_table){ in r300_emit_vs_constants()
1184 uint32_t *data = &buf->ptr[buf->remap_table[i]*4]; in r300_emit_vs_constants()
Dr300_context.h273 unsigned *remap_table; member
Dr300_state.c1065 ((struct r300_constant_buffer*)r300->fs_constants.state)->remap_table = in r300_mark_fs_code_dirty()
1940 ((struct r300_constant_buffer*)r300->vs_constants.state)->remap_table = in r300_bind_vs_state()
/external/mesa3d/src/compiler/spirv/
Dvtn_opencl.c296 } remap_table[] = { variable
388 if (opcode >= (sizeof(remap_table) / sizeof(const char *))) in remap_clc_opcode()
390 return remap_table[opcode].fn; in remap_clc_opcode()
/external/mesa3d/src/mesa/
DAndroid.gen.mk86 $(call es-gen, $* -m remap_table)
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp2135 int *remap_table = new int[this->alloc.count]; in compact_virtual_grfs() local
2136 memset(remap_table, -1, this->alloc.count * sizeof(int)); in compact_virtual_grfs()
2141 remap_table[inst->dst.nr] = 0; in compact_virtual_grfs()
2145 remap_table[inst->src[i].nr] = 0; in compact_virtual_grfs()
2152 if (remap_table[i] == -1) { in compact_virtual_grfs()
2158 remap_table[i] = new_index; in compact_virtual_grfs()
2170 inst->dst.nr = remap_table[inst->dst.nr]; in compact_virtual_grfs()
2174 inst->src[i].nr = remap_table[inst->src[i].nr]; in compact_virtual_grfs()
2184 if (remap_table[delta_xy[i].nr] != -1) { in compact_virtual_grfs()
2185 delta_xy[i].nr = remap_table[delta_xy[i].nr]; in compact_virtual_grfs()
[all …]