MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / IsHeapTypeStandard

Function IsHeapTypeStandard

3rdparty/d3d12memalloc/src/D3D12MemAlloc.cpp:605–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605static 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
613static D3D12_HEAP_PROPERTIES StandardHeapTypeToHeapProperties(D3D12_HEAP_TYPE type)
614{

Callers 3

NormalBlockClass · 0.85
CalcAllocationParamsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected