| 603 | } |
| 604 | |
| 605 | static bool IsHeapTypeStandard(D3D12_HEAP_TYPE type) |
| 606 | { |
| 607 | return type == D3D12_HEAP_TYPE_DEFAULT || |
| 608 | type == D3D12_HEAP_TYPE_UPLOAD || |
| 609 | type == D3D12_HEAP_TYPE_READBACK || |
| 610 | type == D3D12_HEAP_TYPE_GPU_UPLOAD_COPY; |
| 611 | } |
| 612 | |
| 613 | static D3D12_HEAP_PROPERTIES StandardHeapTypeToHeapProperties(D3D12_HEAP_TYPE type) |
| 614 | { |
no outgoing calls
no test coverage detected