Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DHeapAllocatorD3D12.cpp35 D3D12_HEAP_DESC heapDesc; in AllocateResourceHeap() local
36 heapDesc.SizeInBytes = size; in AllocateResourceHeap()
37 heapDesc.Properties.Type = mHeapType; in AllocateResourceHeap()
38 heapDesc.Properties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_UNKNOWN; in AllocateResourceHeap()
39 heapDesc.Properties.MemoryPoolPreference = D3D12_MEMORY_POOL_UNKNOWN; in AllocateResourceHeap()
40 heapDesc.Properties.CreationNodeMask = 0; in AllocateResourceHeap()
41 heapDesc.Properties.VisibleNodeMask = 0; in AllocateResourceHeap()
46 heapDesc.Alignment = D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT; in AllocateResourceHeap()
47 heapDesc.Flags = mHeapFlags; in AllocateResourceHeap()
55 mDevice->GetD3D12Device()->CreateHeap(&heapDesc, IID_PPV_ARGS(&d3d12Heap)), in AllocateResourceHeap()
/third_party/skia/src/gpu/d3d/
DGrD3DDescriptorHeap.cpp15 D3D12_DESCRIPTOR_HEAP_DESC heapDesc = {}; in Make() local
16 heapDesc.Type = type; in Make()
17 heapDesc.NumDescriptors = numDescriptors; in Make()
18 heapDesc.Flags = flags; in Make()
21 gpu->device()->CreateDescriptorHeap(&heapDesc, IID_PPV_ARGS(&heap)); in Make()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12Sample.cpp668 D3D12_DESCRIPTOR_HEAP_DESC heapDesc = {}; in InitD3D() local
669 heapDesc.NumDescriptors = 2; in InitD3D()
670 heapDesc.Flags = D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE; in InitD3D()
671 heapDesc.Type = D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV; in InitD3D()
672 … CHECK_HR( g_Device->CreateDescriptorHeap(&heapDesc, IID_PPV_ARGS(&g_MainDescriptorHeap[i])) ); in InitD3D()
DD3D12MemAlloc.cpp3326 D3D12_HEAP_DESC heapDesc = {}; in Init() local
3327 heapDesc.SizeInBytes = m_Size; in Init()
3328 heapDesc.Properties.Type = m_HeapType; in Init()
3329 heapDesc.Alignment = HeapFlagsToAlignment(m_HeapFlags); in Init()
3330 heapDesc.Flags = m_HeapFlags; in Init()
3332 … HRESULT hr = m_Allocator->GetDevice()->CreateHeap(&heapDesc, __uuidof(*m_Heap), (void**)&m_Heap); in Init()
4584 D3D12_HEAP_DESC heapDesc = {}; in AllocateHeap() local
4585 heapDesc.SizeInBytes = allocInfo.SizeInBytes; in AllocateHeap()
4586 heapDesc.Properties.Type = pAllocDesc->HeapType; in AllocateHeap()
4587 heapDesc.Alignment = allocInfo.Alignment; in AllocateHeap()
[all …]