D3D11X_SHADER_DISABLE_CU_MASK Enumeration

Used to create a mask that selects a compute unit (CU) in the GPU to be disabled in the “DisableCuMask” fields.

Syntax

enum D3D11X_SHADER_DISABLE_CU_MASK
{
    D3D11X_SHADER_DISABLE_CU_NONE = 0,
    D3D11X_SHADER_DISABLE_CU_0 = D3D11X_SHADER_DISABLE_CU(0),
    D3D11X_SHADER_DISABLE_CU_1 = D3D11X_SHADER_DISABLE_CU(1),
    D3D11X_SHADER_DISABLE_CU_2 = D3D11X_SHADER_DISABLE_CU(2),
    D3D11X_SHADER_DISABLE_CU_3 = D3D11X_SHADER_DISABLE_CU(3),
    D3D11X_SHADER_DISABLE_CU_4 = D3D11X_SHADER_DISABLE_CU(4),
    D3D11X_SHADER_DISABLE_CU_5 = D3D11X_SHADER_DISABLE_CU(5),
    D3D11X_SHADER_DISABLE_CU_6 = D3D11X_SHADER_DISABLE_CU(6),
    D3D11X_SHADER_DISABLE_CU_7 = D3D11X_SHADER_DISABLE_CU(7),
    D3D11X_SHADER_DISABLE_CU_8 = D3D11X_SHADER_DISABLE_CU(8),
    D3D11X_SHADER_DISABLE_CU_9 = D3D11X_SHADER_DISABLE_CU(9),
    D3D11X_SHADER_DISABLE_CU_10 = D3D11X_SHADER_DISABLE_CU(10)
};  

Constants

Constant Description
D3D11X_SHADER_DISABLE_CU_NONE No compute units disabled.
D3D11X_SHADER_DISABLE_CU_0 Disables compute unit 0 in the GPU.
D3D11X_SHADER_DISABLE_CU_1 Disables compute unit 1 in the GPU.
D3D11X_SHADER_DISABLE_CU_2 Disables compute unit 2 in the GPU.
D3D11X_SHADER_DISABLE_CU_3 Disables compute unit 3 in the GPU.
D3D11X_SHADER_DISABLE_CU_4 Disables compute unit 4 in the GPU.
D3D11X_SHADER_DISABLE_CU_5 Disables compute unit 5 in the GPU.
D3D11X_SHADER_DISABLE_CU_6 Disables compute unit 6 in the GPU. This CU is only available on Xbox One X hardware.
D3D11X_SHADER_DISABLE_CU_7 Disables compute unit 7 in the GPU. This CU is only available on Xbox One X hardware.
D3D11X_SHADER_DISABLE_CU_8 Disables compute unit 8 in the GPU. This CU is only available on Xbox One X hardware.
D3D11X_SHADER_DISABLE_CU_9 Disables compute unit 9 in the GPU. This CU is only available on Xbox One X hardware.
D3D11X_SHADER_DISABLE_CU_10 Disables compute unit 10 in the GPU. This CU is only available on Xbox One X DevKit hardware.

Requirements

Header: Declared in d3d11_x.h.