Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/vulkan/
Danv_allocator.c1453 unsigned scratch_size_log2 = ffs(per_thread_scratch / 2048); in anv_scratch_pool_alloc() local
1454 assert(scratch_size_log2 < 16); in anv_scratch_pool_alloc()
1468 struct anv_bo *bo = p_atomic_read(&pool->bos[scratch_size_log2][stage]); in anv_scratch_pool_alloc()
1502 p_atomic_cmpxchg(&pool->bos[scratch_size_log2][stage], NULL, bo); in anv_scratch_pool_alloc()
1519 unsigned scratch_size_log2 = ffs(per_thread_scratch / 2048); in anv_scratch_pool_get_surf() local
1520 assert(scratch_size_log2 < 16); in anv_scratch_pool_get_surf()
1522 uint32_t surf = p_atomic_read(&pool->surfs[scratch_size_log2]); in anv_scratch_pool_get_surf()
1544 uint32_t current = p_atomic_cmpxchg(&pool->surfs[scratch_size_log2], in anv_scratch_pool_get_surf()
1550 pool->surf_states[scratch_size_log2] = state; in anv_scratch_pool_get_surf()