Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c734 GLuint ib_size; in brw_upload_indices() local
744 ib_size = index_buffer->count ? ib_type_size * index_buffer->count : in brw_upload_indices()
753 brw_upload_data(&brw->upload, index_buffer->ptr, ib_size, ib_type_size, in brw_upload_indices()
761 offset, ib_size, false); in brw_upload_indices()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c317 uint32_t ib_size = 20 * 1024 * 4; in radv_amdgpu_cs_create() local
326 cs->ib_buffer = ws->buffer_create(ws, ib_size, 0, in radv_amdgpu_cs_create()
347 cs->base.max_dw = ib_size / 4 - 4; in radv_amdgpu_cs_create()
427 uint64_t ib_size = MAX2(min_size * 4 + 16, cs->base.max_dw * 4 * 2); in radv_amdgpu_cs_grow() local
430 ib_size = MIN2(ib_size, 0xfffff); in radv_amdgpu_cs_grow()
453 cs->ib_buffer = cs->ws->base.buffer_create(&cs->ws->base, ib_size, 0, in radv_amdgpu_cs_grow()
488 cs->base.max_dw = ib_size / 4 - 4; in radv_amdgpu_cs_grow()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c761 unsigned ib_size = 4 * 1024 * 4; in amdgpu_get_new_ib() local
777 ib_size = MAX2(ib_size, ib->max_check_space_size); in amdgpu_get_new_ib()
780 ib_size = MAX2(ib_size, in amdgpu_get_new_ib()
794 ib->used_ib_space + ib_size > ib->big_ib_buffer->size) { in amdgpu_get_new_ib()
811 ib_size = ib->big_ib_buffer->size - ib->used_ib_space; in amdgpu_get_new_ib()
812 ib->base.current.max_dw = ib_size / 4 - amdgpu_cs_epilog_dws(cs); in amdgpu_get_new_ib()
/external/mesa3d/src/intel/tools/
Daubinator_viewer_decoder.cpp420 uint32_t ib_size = 0; in handle_3dstate_index_buffer() local
432 ib_size = iter.raw_value; in handle_3dstate_index_buffer()
444 const uint8_t *ib_end = m + MIN2(ib.size, ib_size); in handle_3dstate_index_buffer()
/external/mesa3d/src/intel/common/
Dgen_batch_decoder.c460 uint32_t ib_size = 0; in handle_3dstate_index_buffer() local
471 ib_size = iter.raw_value; in handle_3dstate_index_buffer()
481 const void *ib_end = ib.map + MIN2(ib.size, ib_size); in handle_3dstate_index_buffer()