Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 2.15 KB

nc-d3d12umddi-pfnd3d12ddi_set_pipeline_stack_size_0054.md

File metadata and controls

84 lines (64 loc) · 2.15 KB
UID title description ms.date keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library targetos tech.root ms.custom f1_keywords topic_type api_type api_location api_name dev_langs
NC:d3d12umddi.PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054
PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 (d3d12umddi.h)
Sets the current pipeline stack size.
10/19/2018
PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 callback function
d3d12umddi.h
Windows 10, version 1809
Windows
display
RS5
PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054
d3d12umddi/PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054
apiref
UserDefined
d3d12umddi.h
PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054
c++

PFND3D12DDI_SET_PIPELINE_STACK_SIZE_0054 callback function

-description

SetPipelineStackSize sets the current pipeline stack size.

-parameters

-param unnamedParam1

A handle to the state object.

-param 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