| 38 | D3D12_DESCRIPTOR_HEAP_TYPE falcorToDxDescType(D3D12DescriptorPool::Type t); |
| 39 | |
| 40 | static D3D12DescriptorHeap* getHeap(const D3D12DescriptorPool* pPool, D3D12DescriptorSet::Type type) |
| 41 | { |
| 42 | auto dxType = falcorToDxDescType(type); |
| 43 | D3D12DescriptorHeap* pHeap = pPool->getApiData()->pHeaps[dxType].get(); |
| 44 | FALCOR_ASSERT(pHeap); |
| 45 | FALCOR_ASSERT(pHeap->getType() == dxType); |
| 46 | return pHeap; |
| 47 | } |
| 48 | |
| 49 | D3D12DescriptorSet::CpuHandle D3D12DescriptorSet::getCpuHandle(uint32_t rangeIndex, uint32_t descInRange) const |
| 50 | { |
no test coverage detected