Skip to content

Documentation around CanUseSmallAlignment being overly conservative #89

@shubham2398

Description

@shubham2398

// This algorithm is overly conservative.

As per https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_resource_desc#alignment , the tiling logic specifies constraints similar to the ones implemented in CanUseSmallAlignment. It also says that -

The runtime will use an architecture-independent mechanism of size-estimation, that mimics the way standard swizzle and D3D12 tiled resources are sized.

So why does the documentation mention that this function is overly conservative? Is it because not all pixel formats are specified in GetBitsPerPixel or some other reason is there too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions