PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 Pfnd3d12ddiSetPipelineStackSize0054;

void Pfnd3d12ddiSetPipelineStackSize0054(
  D3D12DDI_HSTATEOBJECT_0054 unnamedParam1,
  UINT unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_set_pipeline_stack_size_0054)

PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 callback function

Description

SetPipelineStackSize sets the current pipeline stack size.

Parameters

unnamedParam1

A handle to the state object.

unnamedParam2

Stack size in bytes to use during pipeline execution for each shader thread (of which there can be many thousands in flight on the GPU).

Prototype

//Declaration

PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 Pfnd3d12ddiSetPipelineStackSize0054;

// Definition

void Pfnd3d12ddiSetPipelineStackSize0054
(
    D3D12DDI_HSTATEOBJECT_0054 Arg1
    UINT Arg2
)
{...}

Remarks

SetPipelineStackSize and GetPipelineStackSize or any use of ray tracing pipeline state objects, such as DispatchRays are not re-entrant. This means that if calling any of these functions from separate threads, the app must synchronize on its own. Any given DispatchRays call or GetPipelineStackSize call uses or returns the most recent stack size setting.

The runtime drops calls to state objects other than ray tracing pipelines (such as collections).

See also