Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c68 int *virtual_buffer_hash_table; member
182 free(cs->virtual_buffer_hash_table); in radv_amdgpu_cs_destroy()
399 cs->virtual_buffer_hash_table[hash] = -1; in radv_amdgpu_cs_reset()
485 if (!cs->virtual_buffer_hash_table) { in radv_amdgpu_cs_add_virtual_buffer()
486 cs->virtual_buffer_hash_table = malloc(VIRTUAL_BUFFER_HASH_TABLE_SIZE * sizeof(int)); in radv_amdgpu_cs_add_virtual_buffer()
488 cs->virtual_buffer_hash_table[i] = -1; in radv_amdgpu_cs_add_virtual_buffer()
491 if (cs->virtual_buffer_hash_table[hash] >= 0) { in radv_amdgpu_cs_add_virtual_buffer()
492 int idx = cs->virtual_buffer_hash_table[hash]; in radv_amdgpu_cs_add_virtual_buffer()
500 cs->virtual_buffer_hash_table[hash] = i; in radv_amdgpu_cs_add_virtual_buffer()
515 cs->virtual_buffer_hash_table[hash] = cs->num_virtual_buffers; in radv_amdgpu_cs_add_virtual_buffer()