Home
last modified time | relevance | path

Searched refs:ib_size (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c718 GLuint ib_size; in brw_upload_indices() local
728 ib_size = index_buffer->count ? ib_type_size * index_buffer->count : in brw_upload_indices()
737 intel_upload_data(brw, index_buffer->ptr, ib_size, ib_type_size, in brw_upload_indices()
745 offset, ib_size, false); in brw_upload_indices()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c202 uint32_t ib_size = 20 * 1024 * 4; in radv_amdgpu_cs_create() local
211 cs->ib_buffer = ws->buffer_create(ws, ib_size, 0, in radv_amdgpu_cs_create()
230 cs->base.max_dw = ib_size / 4 - 4; in radv_amdgpu_cs_create()
317 uint64_t ib_size = MAX2(min_size * 4 + 16, cs->base.max_dw * 4 * 2); in radv_amdgpu_cs_grow() local
320 ib_size = MIN2(ib_size, 0xfffff); in radv_amdgpu_cs_grow()
335 cs->ib_buffer = cs->ws->base.buffer_create(&cs->ws->base, ib_size, 0, in radv_amdgpu_cs_grow()
365 cs->base.max_dw = ib_size / 4 - 4; in radv_amdgpu_cs_grow()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c719 unsigned ib_size = 0; in amdgpu_get_new_ib() local
724 ib_size = 4 * 1024 * 4; in amdgpu_get_new_ib()
731 ib_size = MAX2(ib_size, in amdgpu_get_new_ib()
745 ib->used_ib_space + ib_size > ib->big_ib_buffer->size) { in amdgpu_get_new_ib()
762 ib_size = ib->big_ib_buffer->size - ib->used_ib_space; in amdgpu_get_new_ib()
763 ib->base.current.max_dw = ib_size / 4 - amdgpu_cs_epilog_dws(cs->ring_type); in amdgpu_get_new_ib()
/external/mesa3d/src/intel/tools/
Dgen_batch_decoder.c381 uint32_t ib_size = 0; in handle_3dstate_index_buffer() local
392 ib_size = iter.raw_value; in handle_3dstate_index_buffer()
402 const void *ib_end = ib.map + MIN2(ib.size, ib_size); in handle_3dstate_index_buffer()