D3D11X_GS_FLAGS Enumeration

Flags to control whether geometry shader execution is on-chip and to enable the values (as overrides) that are specified in the optional D3D11X_GS_PARAMETERS structure, overriding the driver-calculated default parameters.

Syntax

typedef enum D3D11X_GS_FLAGS
{
    D3D11X_GS_ONCHIP = 0x01,
    D3D11X_GS_OVERRIDE_VERTICES_PER_SUBGROUP = 0x02,
    D3D11X_GS_OVERRIDE_PRIMITIVES_PER_SUBGROUP = 0x04,
    D3D11X_GS_OVERRIDE_VERTICES_PER_PRIMITIVE_RATIO = 0x08,
    D3D11X_GS_OVERRIDE_LDS_ALLOCATION_LIMIT = 0x10
} D3D11X_GS_FLAGS;  

Constants

Constant Description
D3D11X_GS_ONCHIP If this flag is present in the Flags field of the D3D11X_GS_PARAMETERS structure, the GPU will perform geometry shader execution on-chip. If this flag is not present or no D3D11X_GS_PARAMETERS structure is provided by the title, the GPU will use the default of offchip GS mode.
D3D11X_GS_OVERRIDE_VERTICES_PER_SUBGROUP If this flag is present in the Flags field of the D3D11X_GS_PARAMETERS structure, the VerticesPerThreadgroup field of the D3D11X_GS_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_GS_PARAMETERS structure also includes the flag D3D11X_GS_ONCHIP. If this flag is not present or no D3D11X_GS_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the VerticesPerThreadgroup field of the D3D11X_GS_PARAMETERS structure.
D3D11X_GS_OVERRIDE_PRIMITIVES_PER_SUBGROUP If this flag is present in the Flags field of the D3D11X_GS_PARAMETERS structure, the PrimitivesPerSubgroup field of the D3D11X_GS_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_GS_PARAMETERS structure also includes the flag D3D11X_GS_ONCHIP. If this flag is not present or no D3D11X_GS_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the PrimitivesPerSubgroup field of the D3D11X_GS_PARAMETERS structure.
D3D11X_GS_OVERRIDE_VERTICES_PER_PRIMITIVE_RATIO If this flag is present in the Flags field of the D3D11X_GS_PARAMETERS structure, the VerticesPerPrimitiveRatio field of the D3D11X_GS_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_GS_PARAMETERS structure also includes the flag D3D11X_GS_ONCHIP. If this flag is not present or no D3D11X_GS_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the VerticesPerPrimitiveRatio field of the D3D11X_GS_PARAMETERS structure.
D3D11X_GS_OVERRIDE_LDS_ALLOCATION_LIMIT If this flag is present in the Flags field of the D3D11X_GS_PARAMETERS structure, the LdsAllocationLimit field of the D3D11X_GS_PARAMETERS structure is valid and should be used to override the value calculated heuristically by the driver. This flag is only valid when the Flags field of the D3D11X_GS_PARAMETERS structure also includes the flag D3D11X_GS_ONCHIP. If this flag is not present or no D3D11X_GS_PARAMETERS structure is provided by the title, the driver will calculate an appropriate value, instead of using the LdsAllocationLimit field of the D3D11X_GS_PARAMETERS structure.

Remarks

The D3D11X_GS_PARAMETERS structure has a Flags member that is a bitwise-OR’d combination of these enumeration constants.

Requirements

Header: Declared in d3d11_x.h.