NVAPI Reference Documentation
NVIDIA
Release 384: June 27
2017

NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5 Struct Reference

#include <nvapi.h>

Inheritance diagram for NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5:
NVAPI_D3D12_PSO_EXTENSION_DESC_V1

Data Fields

NvU32 version
 
BOOL UseViewportMask
 
BOOL OffsetRtIndexByVpIndex
 
BOOL ForceFastGS
 
BOOL DontUseViewportOrder
 
BOOL UseAttributeSkipMask
 
BOOL UseCoordinateSwizzle
 
NvAPI_D3D11_SWIZZLE_MODEpCoordinateSwizzling
 
NvU32 NumCustomSemantics
 
NV_CUSTOM_SEMANTICpCustomSemantics
 
BOOL ConvertToFastGS
 
BOOL UseSpecificShaderExt
 
- Data Fields inherited from NVAPI_D3D12_PSO_EXTENSION_DESC_V1
NvU32 baseVersion
 
NV_PSO_EXTENSION psoExtension
 

Field Documentation

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::ConvertToFastGS

Tell the driver to attempt to create a fast geometry shader.

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::DontUseViewportOrder

Default FALSE for Primitives batched per viewport to improve performance. Set TRUE for API order (slow).

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::ForceFastGS

If TRUE, GS must be written with maxvertexcount(1) and must pass-through input vertex 0 to the output without modification.

NvU32 NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::NumCustomSemantics

Number of custom semantics elements (upto NV_CUSTOM_SEMANTIC_MAX) provided in array pointer pCustomSemantics.

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::OffsetRtIndexByVpIndex

Set to FALSE for custom semantic shaders. The Rendertarget index is offset by the viewport index.

NvAPI_D3D11_SWIZZLE_MODE* NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::pCoordinateSwizzling

Reserved.

NV_CUSTOM_SEMANTIC* NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::pCustomSemantics

pointer to array of NV_CUSTOM_SEMANTIC

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::UseAttributeSkipMask

Reserved.

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::UseCoordinateSwizzle

Reserved.

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::UseSpecificShaderExt

TRUE if creating minimal specific shaders with nvapi shader extensions.

BOOL NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::UseViewportMask

Set to FALSE for custom semantic shaders. Tell the driver to create a shader that outputs the viewport mask in lieu of the viewport index. See above description.

NvU32 NVAPI_D3D12_PSO_GEOMETRY_SHADER_DESC_V5::version

Always use NV_GEOMETRY_SHADER_PSO_EXTENSION_DESC_VER.


The documentation for this struct was generated from the following file:


Copyright (c) 2007-2017 NVIDIA Corporation. All rights reserved.

NVIDIA