|
static UINT GetBitsPerPixel(DXGI_FORMAT format) |
Is there a reason many BGRA formats are not supported in GetBitsPerPixel? Asking because CanUseSmallAlignment method uses this method, and hence it would return false for all such formats unsupported in GetBitsPerPixel even though they would satisfy the small alignment conditions.
D3D12MemoryAllocator/src/D3D12MemAlloc.cpp
Line 645 in 0fa62ed
Is there a reason many
BGRAformats are not supported inGetBitsPerPixel? Asking becauseCanUseSmallAlignmentmethod uses this method, and hence it would return false for all such formats unsupported inGetBitsPerPixeleven though they would satisfy the small alignment conditions.