File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11# 3.1.0 (2026-02-23)
22
3- - Added supported for resource tight alignment (feature added in Agility SDK 1.618.1). It is used automatically when available.
3+ - Added support for resource tight alignment (feature added in Agility SDK 1.618.1). It is used automatically when available.
44 - Added function ` Allocator::IsTightAlignmentSupported ` .
55 - Added ` ALLOCATOR_FLAG_DONT_USE_TIGHT_ALIGNMENT ` .
66- Fixes and improvements in the internal function ` AllocatorPimpl::GetResourceAllocationInfo ` (which decides when to use small alignment or tight alignment), including:
Original file line number Diff line number Diff line change @@ -703,6 +703,13 @@ static UINT GetBitsPerPixel(DXGI_FORMAT format)
703703 case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
704704 case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
705705 return 32 ;
706+ case DXGI_FORMAT_B8G8R8A8_UNORM:
707+ case DXGI_FORMAT_B8G8R8X8_UNORM:
708+ case DXGI_FORMAT_B8G8R8A8_TYPELESS:
709+ case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
710+ case DXGI_FORMAT_B8G8R8X8_TYPELESS:
711+ case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
712+ return 32 ;
706713 case DXGI_FORMAT_R8G8_TYPELESS:
707714 case DXGI_FORMAT_R8G8_UNORM:
708715 case DXGI_FORMAT_R8G8_UINT:
@@ -717,6 +724,9 @@ static UINT GetBitsPerPixel(DXGI_FORMAT format)
717724 case DXGI_FORMAT_R16_SNORM:
718725 case DXGI_FORMAT_R16_SINT:
719726 return 16 ;
727+ case DXGI_FORMAT_B5G6R5_UNORM:
728+ case DXGI_FORMAT_B5G5R5A1_UNORM:
729+ return 16 ;
720730 case DXGI_FORMAT_R8_TYPELESS:
721731 case DXGI_FORMAT_R8_UNORM:
722732 case DXGI_FORMAT_R8_UINT:
You can’t perform that action at this time.
0 commit comments