Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opt_loop_unroll.c149 struct hash_table *remap_table = in simple_unroll() local
156 remap_table); in simple_unroll()
168 remap_table); in simple_unroll()
175 remap_table); in simple_unroll()
193 remap_table); in simple_unroll()
205 _mesa_hash_table_destroy(remap_table, NULL); in simple_unroll()
368 struct hash_table *remap_table = in complex_unroll() local
383 remap_table); in complex_unroll()
398 remap_table); in complex_unroll()
417 remap_table); in complex_unroll()
[all …]
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_hash_table_create(NULL, _mesa_hash_pointer, in init_clone_state()
75 _mesa_hash_table_destroy(state->remap_table, NULL); in free_clone_state()
89 entry = _mesa_hash_table_search(state->remap_table, ptr); in _lookup_ptr()
101 _mesa_hash_table_insert(state->remap_table, ptr, nptr); in add_remap()
639 struct hash_table *remap_table) in nir_cf_list_clone() argument
648 init_clone_state(&state, remap_table, false, true); in nir_cf_list_clone()
Dnir_control_flow.h145 struct hash_table *remap_table);
/external/mesa3d/src/mapi/glapi/gen/
Dgl_table.py139 remap_table = "driDispatchRemapTable"
141 print '#define %s_size %u' % (remap_table, count)
142 print 'extern int %s[ %s_size ];' % (remap_table, remap_table)
151 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',
DMakefile.am290 $(PYTHON_GEN) $(srcdir)/gl_table.py -f $(srcdir)/gl_and_es_API.xml -m remap_table > $@
/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/gallium/drivers/svga/
Dsvga_shader.c109 int8_t remap_table[MAX_GENERIC_VARYING]) in svga_remap_generics()
115 remap_table[i] = -1; in svga_remap_generics()
121 remap_table[index] = count++; in svga_remap_generics()
139 svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING], in svga_remap_generic_index()
149 if (remap_table[generic_index] == -1) { in svga_remap_generic_index()
155 max = MAX2(max, remap_table[i]); in svga_remap_generic_index()
157 remap_table[generic_index] = max + 1; in svga_remap_generic_index()
160 return remap_table[generic_index]; in svga_remap_generic_index()
Dsvga_shader.h249 int8_t remap_table[MAX_GENERIC_VARYING]);
252 svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING],
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c231 if (buf->remap_table){ in r300_emit_fs_constants()
233 float *data = (float*)&buf->ptr[buf->remap_table[i]*4]; in r300_emit_fs_constants()
296 if (buf->remap_table){ in r500_emit_fs_constants()
298 uint32_t *data = &buf->ptr[buf->remap_table[i]*4]; in r500_emit_fs_constants()
1180 if (buf->remap_table){ in r300_emit_vs_constants()
1182 uint32_t *data = &buf->ptr[buf->remap_table[i]*4]; in r300_emit_vs_constants()
Dr300_context.h273 unsigned *remap_table; member
Dr300_state.c1072 ((struct r300_constant_buffer*)r300->fs_constants.state)->remap_table = in r300_mark_fs_code_dirty()
1978 ((struct r300_constant_buffer*)r300->vs_constants.state)->remap_table = in r300_bind_vs_state()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.cpp1793 int remap_table[this->alloc.count]; in compact_virtual_grfs() local
1794 memset(remap_table, -1, sizeof(remap_table)); in compact_virtual_grfs()
1799 remap_table[inst->dst.nr] = 0; in compact_virtual_grfs()
1803 remap_table[inst->src[i].nr] = 0; in compact_virtual_grfs()
1810 if (remap_table[i] == -1) { in compact_virtual_grfs()
1816 remap_table[i] = new_index; in compact_virtual_grfs()
1828 inst->dst.nr = remap_table[inst->dst.nr]; in compact_virtual_grfs()
1832 inst->src[i].nr = remap_table[inst->src[i].nr]; in compact_virtual_grfs()
1842 if (remap_table[delta_xy[i].nr] != -1) { in compact_virtual_grfs()
1843 delta_xy[i].nr = remap_table[delta_xy[i].nr]; in compact_virtual_grfs()