Lines Matching defs:map

191    static const unsigned map[] = {
209 return map[prim] + (prim == PIPE_PRIM_PATCHES ? verts_per_patch : 0);
215 static const unsigned map[] = {
225 return map[pipe_func];
243 static const unsigned map[] = {
253 return map[pipe_func];
259 static const unsigned map[4] = {
265 return map[pipe_face];
271 static const unsigned map[4] = {
277 return map[pipe_polymode];
283 static const unsigned map[] = {
288 return map[pipe_mip];
294 static const unsigned map[] = {
306 return map[pipe_wrap];
312 * Return a pointer to the map (to fill it out) and a state ref (for
368 uint32_t *map =
371 if (map)
372 memcpy(map, data, size);
821 uint32_t *map =
830 GENX(SLICE_HASH_TABLE_pack)(NULL, map, &table);
906 uint32_t *map = pipe_buffer_map_range(&ice->ctx, ice->state.pixel_hashing_tables,
930 GENX(SLICE_HASH_TABLE_pack)(NULL, map, &table);
2242 uint32_t *map =
2244 if (unlikely(!map))
2262 memset(map, 0, 4 * GENX(SAMPLER_STATE_length));
2271 memcpy(map, sampler_state, 4 * GENX(SAMPLER_STATE_length));
2314 map[j] = sampler_state[j] | dynamic[j];
2318 map += GENX(SAMPLER_STATE_length);
2339 void *map,
2369 isl_buffer_fill_state(isl_dev, map,
2418 void *map =
2424 if (map)
2425 memcpy(map, surf_state->cpu, bytes);
2463 void *map,
2501 isl_surf_fill_state_s(isl_dev, map, &f);
2514 void *map = surf_state->cpu;
2520 fill_surface_state(isl_dev, map, res, surf, view, aux_usage,
2523 map += SURFACE_STATE_ALIGNMENT;
3386 void *map = NULL;
3389 &cbuf->buffer_offset, &cbuf->buffer, (void **) &map);
3397 assert(map);
3398 memcpy(map, input->user_buffer, input->buffer_size);
3452 void *map = NULL;
3456 &cbuf->buffer_offset, &cbuf->buffer, &map);
3459 memcpy(map, grid->input, shader->kernel_input_size);
3461 uint32_t *sysval_map = map + system_values_start;
4049 uint32_t *map = ralloc_size(NULL, sizeof(uint32_t) * dwords);
4050 uint32_t *so_decl_map = map + GENX(3DSTATE_STREAMOUT_length);
4052 iris_pack_command(GENX(3DSTATE_STREAMOUT), map, sol) {
4098 return map;
4735 void *map = shader->derived_data;
4737 iris_pack_state(GENX(INTERFACE_DESCRIPTOR_DATA), map, desc) {
5106 uint32_t *bt_map = binder->map + binder->bt_offset[stage];
5349 /* Range block is a binding table index, map back to UBO index. */
5574 iris_emit_end_of_pipe_sync(batch, "Invalidate aux map table",
5577 /* If the aux-map state number increased, then we need to rewrite the
5578 * register. Rewriting the register is used to both set the aux-map
5635 /* Range block is a binding table index, map back to UBO index. */
6663 uint32_t *map =
6665 _iris_pack_command(batch, GENX(3DSTATE_VERTEX_BUFFERS), map, vb) {
6668 map += 1;
6673 memcpy(map, genx->vertex_buffers[i].state,
6675 map += vb_dwords;