Skip to content

Fields of OPTIONS19 are missing _Out_ SAL annotation #202

@clandrew

Description

@clandrew

For fields other than ComputeOnlyCustomHeapSupported.

typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS19
    {
    BOOL MismatchingOutputDimensionsSupported;
    UINT SupportedSampleCountsWithNoOutputs;
    BOOL PointSamplingAddressesNeverRoundUp;
    BOOL RasterizerDesc2Supported;
    BOOL NarrowQuadrilateralLinesSupported;
    BOOL AnisoFilterWithPointMipSupported;
    UINT MaxSamplerDescriptorHeapSize;
    UINT MaxSamplerDescriptorHeapSizeWithStaticSamplers;
    UINT MaxViewDescriptorHeapSize;
    _Out_  BOOL ComputeOnlyCustomHeapSupported;
    } 	D3D12_FEATURE_DATA_D3D12_OPTIONS19;

Technically Out is not valid SAL for struct fields but the header so far has been using them. They can help document what does what.

Link: here

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