D3DUploadCustomMicrocode

Uploads custom microcode binaries for the Constant Engine (CE), Pre-Fetch Processor (PFP), and Micro-Engine (ME) into the GPU.

Syntax

HRESULT D3DUploadCustomMicrocode(
         UINT32 MicrocodeVersion,
         SIZE_T CeMicrocodeSizeBytes,
         const void *pCeMicrocode,
         SIZE_T PfpMicrocodeSizeBytes,
         const void *pPfpMicrocode,
         SIZE_T MeMicrocodeSizeBytes,
         const void *pMeMicrocode
)  

Parameters

MicrocodeVersion
Type: UINT32 

[in] The version number of the microcode, provided with the microcode binaries as supplied by Microsoft.

CeMicrocodeSizeBytes
Type: SIZE_T 

[in] The size of the Constant Engine (CE) microcode, in bytes.

pCeMicrocode
Type: void *

[in] The Constant Engine (CE) microcode.

PfpMicrocodeSizeBytes
Type: SIZE_T 

[in] The size of the Pre-Fetch Processor (PFP) microcode, in bytes.

pPfpMicrocode
Type: void *

[in] The Pre-Fetch Processor (PFP) microcode.

MeMicrocodeSizeBytes
Type: SIZE_T 

[in] The size of the Micro-Engine (ME) microcode, in bytes.

pMeMicrocode
Type: void *

[in] The Micro-Engine (ME) microcode.

Return value

Type: HRESULT 

Returns one of the Direct3D 11 return codes.

Remarks

This API will only function on development kits, and is intended for use by titles that need to evaluate new microcode updates before they are released as official updates.

For more information about the Constant Engine (CE), see Optimizing Monolithic Driver Performance.

For more information about the Pre-Fetch Processor (PFP) and Micro-Engine (ME), see the white paper Caches and Coherency on the Xbox One GPU.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.