Skip to main content
Describes a compute pipeline state object.

Syntax

Members

pRootSignature
Type: ID3D12RootSignature *
A pointer to the ID3D12RootSignature object. CS
Type: D3D12_SHADER_BYTECODE
A D3D12_SHADER_BYTECODE structure that describes the compute shader. NodeMask
Type: UINT
For single GPU operation, set this to zero. If there are multiple GPU nodes, set bits to identify the nodes (the device’s physical adapters) for which the compute pipeline state is to apply. Each bit in the mask corresponds to a single node. Refer to Multi-adapter systems. CachedPSO
Type: D3D12_CACHED_PIPELINE_STATE
A cached pipeline state object, as a D3D12_CACHED_PIPELINE_STATE structure. pCachedBlob and CachedBlobSizeInBytes may be set to NULL and 0 respectively. Flags
Type: D3D12_PIPELINE_STATE_FLAGS
A D3D12_PIPELINE_STATE_FLAGS enumeration constant such as for “tool debug”.

Remarks

This structure is used by CreateComputePipelineState.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Core Structures
Last modified on August 20, 2026