// d3d10umddi.h
PFND3D11DDI_CALCPRIVATETESSELLATIONSHADERSIZE Pfnd3d11ddiCalcprivatetessellationshadersize;
SIZE_T Pfnd3d11ddiCalcprivatetessellationshadersize(
D3D10DDI_HDEVICE unnamedParam1,
const UINT *pShaderCode,
const D3D11DDIARG_TESSELLATION_IO_SIGNATURES *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CalcPrivateTessellationShaderSize function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory) for a hull or domain shader.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
pShaderCodeunnamedParam3pCode [in]
An array of CONST UINT tokens that form the hull-shader code or domain-shader code.
CalcPrivateTessellationShaderSize returns the size of the memory region that the driver requires to create a hull or domain shader.
The Direct3D runtime calls the driver's CalcPrivateTessellationShaderSize function to calculate the size of the memory region for a hull or domain shader. This is similar to the way that the Direct3D runtime calls the driver's CalcPrivateShaderSize function to calculate the size of the memory region for a pixel, vertex, or geometry shader (that is, a geometry shader without stream output).
D3D11DDIARG_TESSELLATION_IO_SIGNATURES