Searched refs:idxbuf (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_push.c | 40 const void *idxbuf; member 88 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() 120 uint16_t *elts = (uint16_t *)ctx->idxbuf + start; in emit_vertices_i16() 152 uint32_t *elts = (uint32_t *)ctx->idxbuf + start; in emit_vertices_i32() 230 ctx.idxbuf = nouveau_resource_map_offset(&nv30->base, in nv30_push_vbo() 234 ctx.idxbuf = (char*)info->index.user + draw->start * info->index_size; in nv30_push_vbo() 235 if (!ctx.idxbuf) { in nv30_push_vbo() 243 ctx.idxbuf = NULL; in nv30_push_vbo()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_push.c | 16 const void *idxbuf; member 70 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() 109 uint16_t *elts = (uint16_t *)ctx->idxbuf + start; in emit_vertices_i16() 148 uint32_t *elts = (uint32_t *)ctx->idxbuf + start; in emit_vertices_i32() 286 ctx.idxbuf = nouveau_resource_map_offset(&nv50->base, in nv50_push_vbo() 289 ctx.idxbuf = info->index.user; in nv50_push_vbo() 291 if (!ctx.idxbuf) in nv50_push_vbo() 308 ctx.idxbuf = NULL; in nv50_push_vbo()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 18 const void *idxbuf; member 96 ctx->idxbuf = nouveau_resource_map_offset( in nvc0_push_map_idxbuf() 99 ctx->idxbuf = info->index.user; in nvc0_push_map_idxbuf() 252 const uint8_t *restrict elts = (uint8_t *)ctx->idxbuf + start; in disp_vertices_i08() 309 const uint16_t *restrict elts = (uint16_t *)ctx->idxbuf + start; in disp_vertices_i16() 366 const uint32_t *restrict elts = (uint32_t *)ctx->idxbuf + start; in disp_vertices_i32() 613 ctx.idxbuf = NULL; /* shut up warnings */ in nvc0_push_vbo() 738 memcpy(data, ctx->idxbuf, draw->count * index_size); in nvc0_push_upload_vertex_ids() 742 copy_indices_u8(data, ctx->idxbuf, draw->index_bias, draw->count); in nvc0_push_upload_vertex_ids() 745 copy_indices_u16(data, ctx->idxbuf, draw->index_bias, draw->count); in nvc0_push_upload_vertex_ids() [all …]
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | stateblock9.c | 77 nine_bind(&state->idxbuf, NULL); in NineStateBlock9_dtor() 271 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common() 272 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common() 454 (struct NineBuffer9 **)&dst->idxbuf, in nine_state_copy_common_all() 455 (struct NineBuffer9 *)src->idxbuf); in nine_state_copy_common_all()
|
D | nine_state.h | 207 struct NineIndexBuffer9 *idxbuf; member 281 struct pipe_resource *idxbuf; member 403 struct NineIndexBuffer9 *idxbuf);
|
D | device9.c | 3042 user_assert(This->state.idxbuf, D3DERR_INVALIDCALL); in NineDevice9_DrawIndexedPrimitive() 3048 if (IS_SYSTEMMEM_DYNAMIC(&This->state.idxbuf->base)) in NineDevice9_DrawIndexedPrimitive() 3049 NineTrackSystemmemDynamic(&This->state.idxbuf->base, in NineDevice9_DrawIndexedPrimitive() 3050 StartIndex * This->state.idxbuf->index_size, in NineDevice9_DrawIndexedPrimitive() 3051 num_indices * This->state.idxbuf->index_size); in NineDevice9_DrawIndexedPrimitive() 3834 struct NineIndexBuffer9 *idxbuf = NineIndexBuffer9(pIndexData); in NineDevice9_SetIndices() local 3839 nine_bind(&state->idxbuf, idxbuf); in NineDevice9_SetIndices() 3844 if (state->idxbuf == idxbuf) in NineDevice9_SetIndices() 3848 (struct NineBuffer9 **)&state->idxbuf, in NineDevice9_SetIndices() 3849 (struct NineBuffer9 *)idxbuf); in NineDevice9_SetIndices() [all …]
|
D | nine_state.c | 1619 pipe_resource_reference(&context->idxbuf, res); in CSMT_ITEM_NO_WAIT() 1626 struct NineIndexBuffer9 *idxbuf) in nine_context_set_indices() argument 1632 if (idxbuf) { in nine_context_set_indices() 1633 res = NineIndexBuffer9_GetBuffer(idxbuf, &OffsetInBytes); in nine_context_set_indices() 1634 IndexSize = idxbuf->index_size; in nine_context_set_indices() 2083 nine_context_set_indices(device, src->idxbuf); in nine_context_apply_stateblock() 2425 info.index.resource = context->idxbuf; in CSMT_ITEM_NO_WAIT() 2946 (struct NineBuffer9 **)&state->idxbuf, in nine_device_state_clear() 2992 pipe_resource_reference(&context->idxbuf, NULL); in nine_context_clear()
|
D | buffer9.c | 237 if (device->state.idxbuf == (struct NineIndexBuffer9 *)This) in NineBuffer9_RebindIfRequired()
|