Home
last modified time | relevance | path

Searched refs:heaps (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp232 std::list<ComPtr<ID3D12DescriptorHeap>> heaps = {allocator->GetShaderVisibleHeap()}; in TEST_P() local
240 EXPECT_TRUE(std::find(heaps.begin(), heaps.end(), heap) == heaps.end()); in TEST_P()
241 heaps.push_back(heap); in TEST_P()
254 EXPECT_TRUE(heaps.front() == heap); in TEST_P()
255 heaps.pop_front(); in TEST_P()
260 EXPECT_TRUE(heaps.empty()); in TEST_P()
277 std::set<ComPtr<ID3D12DescriptorHeap>> heaps = {allocator->GetShaderVisibleHeap()}; in TEST_P() local
285 EXPECT_TRUE(std::find(heaps.begin(), heaps.end(), heap) == heaps.end()); in TEST_P()
286 heaps.insert(heap); in TEST_P()
308 std::set<ComPtr<ID3D12DescriptorHeap>> heaps = {allocator->GetShaderVisibleHeap()}; in TEST_P() local
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_descriptor_pool.cpp41 list_head heaps; member
206 list_inithead(&pool->heaps); in d3d12_descriptor_pool_new()
214 list_for_each_entry_safe(struct d3d12_descriptor_heap, heap, &pool->heaps, link) { in d3d12_descriptor_pool_free()
227 list_for_each_entry(struct d3d12_descriptor_heap, heap, &pool->heaps, link) { in d3d12_descriptor_pool_alloc_handle()
239 list_addtail(&valid_heap->link, &pool->heaps); in d3d12_descriptor_pool_alloc_handle()
Dd3d12_batch.cpp163 ID3D12DescriptorHeap* heaps[2] = { d3d12_descriptor_heap_get(batch->view_heap), in d3d12_start_batch() local
185 ctx->cmdlist->SetDescriptorHeaps(2, heaps); in d3d12_start_batch()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv.c545 struct pvr_winsys_heaps *heaps) in pvr_srv_winsys_get_heaps_info() argument
549 heaps->general_heap = &srv_ws->general_heap.base; in pvr_srv_winsys_get_heaps_info()
550 heaps->pds_heap = &srv_ws->pds_heap.base; in pvr_srv_winsys_get_heaps_info()
551 heaps->transfer_3d_heap = &srv_ws->transfer_3d_heap.base; in pvr_srv_winsys_get_heaps_info()
552 heaps->usc_heap = &srv_ws->usc_heap.base; in pvr_srv_winsys_get_heaps_info()
553 heaps->vis_test_heap = &srv_ws->vis_test_heap.base; in pvr_srv_winsys_get_heaps_info()
556 heaps->rgn_hdr_heap = &srv_ws->rgn_hdr_heap.base; in pvr_srv_winsys_get_heaps_info()
558 heaps->rgn_hdr_heap = &srv_ws->general_heap.base; in pvr_srv_winsys_get_heaps_info()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DBuddyMemoryAllocatorTests.cpp392 std::set<ResourceHeapBase*> heaps = {}; in TEST() local
401 heaps.insert(allocation.GetResourceHeap()); in TEST()
412 ASSERT_EQ(poolAllocator.GetPoolSizeForTesting(), heaps.size()); in TEST()
418 ASSERT_FALSE(heaps.insert(allocation.GetResourceHeap()).second); in TEST()
433 std::set<ResourceHeapBase*> heaps = {}; in TEST() local
441 while (heaps.size() < kNumOfHeaps) { in TEST()
444 heaps.insert(allocation.GetResourceHeap()); in TEST()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_query.c75 device->heaps.vis_test_heap, in pvr_CreateQueryPool()
84 device->heaps.vis_test_heap, in pvr_CreateQueryPool()
Dpvr_job_context.c230 device->heaps.pds_heap, in pvr_render_job_pt_programs_setup()
473 device->heaps.pds_heap, in pvr_ctx_sr_programs_setup()
495 device->heaps.usc_heap->base_addr.addr; in pvr_ctx_sr_programs_setup()
521 device->heaps.usc_heap->base_addr.addr; in pvr_ctx_sr_programs_setup()
653 device->heaps.general_heap, in pvr_render_ctx_switch_init()
662 device->heaps.general_heap, in pvr_render_ctx_switch_init()
864 device->heaps.general_heap, in pvr_render_ctx_create()
1113 device->heaps.general_heap, in pvr_compute_ctx_create()
Dpvr_device.c1343 device->heaps.general_heap, in pvr_device_init_compute_idfwdf_state()
1352 device->heaps.general_heap, in pvr_device_init_compute_idfwdf_state()
1627 device->ws->ops->get_heaps_info(device->ws, &device->heaps); in pvr_CreateDevice()
1819 const uint64_t alignment = device->heaps.general_heap->page_size; in pvr_AllocateMemory()
2001 size + (offset & (device->heaps.general_heap->page_size - 1)); in pvr_bind_memory()
2018 vma = device->ws->ops->heap_alloc(device->heaps.general_heap, in pvr_bind_memory()
2208 device->heaps.usc_heap, in pvr_gpu_upload_usc()
2271 device->heaps.pds_heap, in pvr_gpu_upload_pds()
2283 device->heaps.pds_heap->base_addr.addr; in pvr_gpu_upload_pds()
2300 device->heaps.pds_heap->base_addr.addr; in pvr_gpu_upload_pds()
[all …]
Dpvr_csb.c141 csb->device->heaps.general_heap, in pvr_csb_buffer_extend()
Dpvr_job_render.c239 device->heaps.general_heap, in pvr_free_list_create()
432 device->heaps.general_heap, in pvr_rt_vheap_rtc_data_init()
522 device->heaps.general_heap, in pvr_rt_tpc_data_init()
635 device->heaps.general_heap, in pvr_rt_mta_mlist_data_init()
698 device->heaps.rgn_hdr_heap, in pvr_rt_rgn_headers_data_init()
Dpvr_cmd_buffer.c263 device->heaps.general_heap, in pvr_cmd_buffer_upload_tables()
274 device->heaps.general_heap, in pvr_cmd_buffer_upload_tables()
327 device->heaps.general_heap, in pvr_cmd_buffer_upload_general()
2613 cmd_buffer->device->heaps.pds_heap, in pvr_setup_vertex_buffers()
2702 cmd_buffer->device->heaps.pds_heap->base_addr.addr; in pvr_setup_vertex_buffers()
2730 cmd_buffer->device->heaps.pds_heap, in pvr_setup_descriptor_mappings()
2927 cmd_buffer->device->heaps.pds_heap->base_addr.addr; in pvr_setup_descriptor_mappings()
4127 cmd_buffer->device->heaps.general_heap, in pvr_emit_ppp_state()
Dpvr_private.h258 struct pvr_winsys_heaps heaps; member
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_descriptor_set.c1092 dzn_descriptor_heap_write_sampler_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_sampler_desc()
1171 dzn_descriptor_heap_write_image_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_image_view_desc()
1177 dzn_descriptor_heap_write_image_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_image_view_desc()
1213 dzn_descriptor_heap_write_buffer_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_buffer_view_desc()
1219 dzn_descriptor_heap_write_buffer_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_buffer_view_desc()
1252 dzn_descriptor_heap_write_buffer_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_buffer_desc()
1257 dzn_descriptor_heap_write_buffer_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_buffer_desc()
1339 dzn_descriptor_heap_finish(&pool->heaps[type]); in dzn_descriptor_pool_destroy()
1404 dzn_descriptor_heap_init(&pool->heaps[type], device, type, pool->desc_count[type], false); in dzn_descriptor_pool_create()
1424 pool->heaps[type].desc_count, in dzn_descriptor_pool_defragment_heap()
[all …]
Ddzn_private.h340 struct dzn_descriptor_heap *heaps[NUM_POOL_TYPES]; member
484 struct dzn_descriptor_heap *heaps[NUM_POOL_TYPES]; member
595 struct dzn_descriptor_heap heaps[NUM_POOL_TYPES]; member
Ddzn_cmd_buffer.c2287 desc_state->heaps[D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV], in dzn_cmd_buffer_update_heaps()
2288 desc_state->heaps[D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER] in dzn_cmd_buffer_update_heaps()
2323 &set->pool->heaps[type], set->heap_offsets[type], in dzn_cmd_buffer_update_heaps()
2354 …if (new_heaps[D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV] != cmdbuf->state.heaps[D3D12_DESCRIPTOR_HEAP… in dzn_cmd_buffer_update_heaps()
2355 …new_heaps[D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER] != cmdbuf->state.heaps[D3D12_DESCRIPTOR_HEAP_TYPE_SA… in dzn_cmd_buffer_update_heaps()
2364 for (unsigned h = 0; h < ARRAY_SIZE(cmdbuf->state.heaps); h++) in dzn_cmd_buffer_update_heaps()
2365 cmdbuf->state.heaps[h] = new_heaps[h]; in dzn_cmd_buffer_update_heaps()
3183 if (heap != cmdbuf->state.heaps[D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV]) { in dzn_CmdBlitImage2()
3184 ID3D12DescriptorHeap * const heaps[] = { heap->heap }; in dzn_CmdBlitImage2() local
3185 cmdbuf->state.heaps[D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV] = heap; in dzn_CmdBlitImage2()
[all …]
/third_party/mesa3d/docs/relnotes/
D17.1.2.rst101 - anv: Set up memory types and heaps during physical device init
111 - anv: Advertise both 32-bit and 48-bit heaps when we have enough
125 - cherry-ignore: anv: Advertise both 32-bit and 48-bit heaps when we
D17.2.5.rst57 - radv: Don't expose heaps with 0 memory.
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DResidencyManagerD3D12.cpp237 MaybeError ResidencyManager::EnsureHeapsAreResident(Heap** heaps, size_t heapCount) { in EnsureHeapsAreResident() argument
249 Heap* heap = heaps[i]; in EnsureHeapsAreResident()
DResidencyManagerD3D12.h39 MaybeError EnsureHeapsAreResident(Heap** heaps, size_t heapCount);
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c431 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
440 device->memory.heaps[1] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
450 device->memory.heaps[2] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
480 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
499 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
2748 .size = physical_device->memory.heaps[i].size, in anv_GetPhysicalDeviceMemoryProperties()
2749 .flags = physical_device->memory.heaps[i].flags, in anv_GetPhysicalDeviceMemoryProperties()
2767 if (device->memory.heaps[i].is_local_mem) { in anv_get_memory_budget()
2768 total_vram_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
2770 total_sys_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.td28 // WebAssembly may someday supports mixed 32-bit and 64-bit heaps in the same
/third_party/python/Doc/library/
Dheapq.rst83 The module also offers three general purpose functions based on heaps.
285 and heaps are good for this, as they are reasonably speedy, the speed is almost
305 heap completely vanishes, you switch heaps and start a new run. Clever and
308 In a word, heaps are useful memory structures to know. I use them in a few
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.cpp581 ID3D12DescriptorHeap* heaps[2] = { in setDescriptorHeaps() local
586 fCommandList->SetDescriptorHeaps(2, heaps); in setDescriptorHeaps()
/third_party/mesa3d/src/imagination/vulkan/winsys/
Dpvr_winsys.h410 struct pvr_winsys_heaps *heaps);
/third_party/skia/third_party/externals/d3d12allocator/
DREADME.md23 - Allocates and keeps track of bigger memory heaps, used and unused ranges inside them, finds best …

123