Lines Matching defs:map
192 static const unsigned map[] = {
214 return map[prim] + (prim == PIPE_PRIM_PATCHES ? verts_per_patch : 0);
220 static const unsigned map[] = {
230 return map[pipe_func];
248 static const unsigned map[] = {
258 return map[pipe_func];
264 static const unsigned map[4] = {
270 return map[pipe_face];
277 static const unsigned map[4] = {
283 return map[pipe_polymode];
290 static const unsigned map[] = {
295 return map[pipe_mip];
301 static const unsigned map[] = {
321 return map[pipe_wrap];
351 return (uint32_t *)batch->state.map + (offset >> 2);
362 uint32_t *map = stream_state(batch, size, alignment, &offset);
364 if (map)
365 memcpy(map, data, size);
617 void *map = crocus_get_command_space(batch, 4 * 5);
618 _crocus_pack_command(batch, GENX(MI_STORE_DATA_IMM), map, sdi) {
914 uint32_t *map,
939 memcpy(&map[offset + (total * 8)], cmap, len);
950 memset(&map[offset], 0, len);
973 uint32_t *map;
975 &ice->curbe.curbe_offset, (struct pipe_resource **)&ice->curbe.curbe_res, (void **) &map);
979 upload_shader_consts(ice, MESA_SHADER_FRAGMENT, map, ice->curbe.wm_start);
985 float *fmap = (float *)map;
1010 upload_shader_consts(ice, MESA_SHADER_VERTEX, map, ice->curbe.vs_start);
1014 float *f = (float *)map;
2345 void *map)
2372 _crocus_pack_state(batch, GENX(SAMPLER_STATE), map, samp) {
2615 uint32_t *map = stream_state(batch, size, 32, &shs->sampler_offset);
2617 if (unlikely(!map))
2625 memset(map, 0, 4 * GENX(SAMPLER_STATE_length));
2659 crocus_upload_sampler_state(batch, state, border_color_offset, wa, first_level, map);
2662 map += GENX(SAMPLER_STATE_length);
3499 void *map = NULL;
3502 &cbuf->buffer_offset, &cbuf->buffer, (void **) &map);
3510 assert(map);
3511 memcpy(map, input->user_buffer, input->buffer_size);
3543 uint32_t *map = NULL;
3547 &cbuf->buffer_offset, &cbuf->buffer, (void **) &map);
3597 *map++ = value;
4336 uint32_t *map = ralloc_size(NULL, sizeof(uint32_t) * dwords);
4337 uint32_t *so_decl_map = map + GENX(3DSTATE_STREAMOUT_length);
4339 crocus_pack_command(GENX(3DSTATE_STREAMOUT), map, sol) {
4395 return map;
5307 * too big to map using a single binding table entry?
5671 /* Range block is a binding table index, map back to UBO index. */
5823 uint32_t **map)
5826 _crocus_pack_state(batch, GENX(VERTEX_BUFFER_STATE), *map, vb) {
5847 *map += vb_dwords;
7476 (batch_ptr - batch->command.map) + isl_dev->ds.depth_offset,
7497 (batch_ptr - batch->command.map) + isl_dev->ds.hiz_offset,
7522 (batch_ptr - batch->command.map) + isl_dev->ds.stencil_offset,
7590 uint32_t *map =
7592 _crocus_pack_command(batch, GENX(3DSTATE_VERTEX_BUFFERS), map, vb) {
7595 map += 1;
7610 &map);
7619 0, 0, &map);
7627 0, 0, &map);