Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp2176 auto pool_state = GetDescriptorPoolState(p_alloc_info->descriptorPool); in ValidateAllocateDescriptorSets() local
2190 … !(pool_state->createInfo.flags & VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT)) { in ValidateAllocateDescriptorSets()
2199 if (pool_state->availableSets < p_alloc_info->descriptorSetCount) { in ValidateAllocateDescriptorSets()
2201 … HandleToUint64(pool_state->pool), "VUID-VkDescriptorSetAllocateInfo-descriptorSetCount-00306", in ValidateAllocateDescriptorSets()
2204 … p_alloc_info->descriptorSetCount, report_data->FormatHandle(pool_state->pool).c_str(), in ValidateAllocateDescriptorSets()
2205 pool_state->availableSets); in ValidateAllocateDescriptorSets()
2209 …if (ds_data->required_descriptors_by_type.at(it->first) > pool_state->availableDescriptorTypeCount… in ValidateAllocateDescriptorSets()
2212 … HandleToUint64(pool_state->pool), "VUID-VkDescriptorSetAllocateInfo-descriptorPool-00307", in ValidateAllocateDescriptorSets()
2216 …report_data->FormatHandle(pool_state->pool).c_str(), pool_state->availableDescriptorTypeCount[it->… in ValidateAllocateDescriptorSets()
2252 auto pool_state = descriptorPoolMap[p_alloc_info->descriptorPool].get(); in PerformAllocateDescriptorSets() local
[all …]
Dcore_validation.cpp4755 void ValidationStateTracker::FreeCommandBufferStates(COMMAND_POOL_STATE *pool_state, const uint32_t… in FreeCommandBufferStates() argument
4765 pool_state->commandBuffers.erase(command_buffers[i]); in FreeCommandBufferStates()
6210 DESCRIPTOR_POOL_STATE *pool_state = GetDescriptorPoolState(descriptorPool); in PreCallValidateFreeDescriptorSets() local
6211 …if (pool_state && !(VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT & pool_state->createInfo.fla… in PreCallValidateFreeDescriptorSets()
6223 DESCRIPTOR_POOL_STATE *pool_state = GetDescriptorPoolState(descriptorPool); in PreCallRecordFreeDescriptorSets() local
6225 pool_state->availableSets += count; in PreCallRecordFreeDescriptorSets()
6235 pool_state->availableDescriptorTypeCount[type_index] += descriptor_count; in PreCallRecordFreeDescriptorSets()
6238 pool_state->sets.erase(descriptor_set); in PreCallRecordFreeDescriptorSets()
Dcore_validation.h779 … void FreeCommandBufferStates(COMMAND_POOL_STATE* pool_state, const uint32_t command_buffer_count,
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c736 struct anv_block_state *pool_state, in anv_block_pool_alloc_new() argument
746 state.u64 = __sync_fetch_and_add(&pool_state->u64, block_size); in anv_block_pool_alloc_new()
773 new.end = anv_block_pool_grow(pool, pool_state, block_size); in anv_block_pool_alloc_new()
776 old.u64 = __sync_lock_test_and_set(&pool_state->u64, new.u64); in anv_block_pool_alloc_new()
778 futex_wake(&pool_state->end, INT_MAX); in anv_block_pool_alloc_new()
781 futex_wait(&pool_state->end, state.end, NULL); in anv_block_pool_alloc_new()