NVAPI Reference Documentation
NVIDIA
Release 435: August 22
2019

nvHLSLExtnsInternal.h File Reference

Data Structures

struct  NvShaderExtnStruct
 

Macros

#define NV_EXTN_ATOM_AND   0
 
#define NV_EXTN_ATOM_OR   1
 
#define NV_EXTN_ATOM_XOR   2
 
#define NV_EXTN_ATOM_ADD   3
 
#define NV_EXTN_ATOM_MAX   6
 
#define NV_EXTN_ATOM_MIN   7
 
#define NV_EXTN_ATOM_SWAP   8
 
#define NV_EXTN_ATOM_CAS   9
 

Functions

int __NvGetShflMaskFromWidth (uint width)
 
void __NvReferenceUAVForOp (RWByteAddressBuffer uav)
 
void __NvReferenceUAVForOp (RWTexture1D< float2 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< float2 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< float2 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< float4 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< float4 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< float4 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< float > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< float > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< float > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< uint2 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< uint2 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< uint2 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< uint4 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< uint4 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< uint4 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< uint > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< uint > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< uint > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< int2 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< int2 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< int2 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< int4 > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< int4 > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< int4 > uav)
 
void __NvReferenceUAVForOp (RWTexture1D< int > uav)
 
void __NvReferenceUAVForOp (RWTexture2D< int > uav)
 
void __NvReferenceUAVForOp (RWTexture3D< int > uav)
 
uint __NvAtomicOpFP16x2 (RWByteAddressBuffer uav, uint byteAddress, uint fp16x2Val, uint atomicOpType)
 
uint __NvAtomicOpFP16x2 (RWTexture1D< float2 > uav, uint address, uint fp16x2Val, uint atomicOpType)
 
uint __NvAtomicOpFP16x2 (RWTexture2D< float2 > uav, uint2 address, uint fp16x2Val, uint atomicOpType)
 
uint __NvAtomicOpFP16x2 (RWTexture3D< float2 > uav, uint3 address, uint fp16x2Val, uint atomicOpType)
 
uint2 __NvAtomicOpFP16x2 (RWTexture1D< float4 > uav, uint address, uint2 fp16x2Val, uint atomicOpType)
 
uint2 __NvAtomicOpFP16x2 (RWTexture2D< float4 > uav, uint2 address, uint2 fp16x2Val, uint atomicOpType)
 
uint2 __NvAtomicOpFP16x2 (RWTexture3D< float4 > uav, uint3 address, uint2 fp16x2Val, uint atomicOpType)
 
uint __fp32x2Tofp16x2 (float2 val)
 
uint2 __fp32x4Tofp16x4 (float4 val)
 
float __NvAtomicAddFP32 (RWByteAddressBuffer uav, uint byteAddress, float val)
 
float __NvAtomicAddFP32 (RWTexture1D< float > uav, uint address, float val)
 
float __NvAtomicAddFP32 (RWTexture2D< float > uav, uint2 address, float val)
 
float __NvAtomicAddFP32 (RWTexture3D< float > uav, uint3 address, float val)
 
uint2 __NvAtomicCompareExchangeUINT64 (RWByteAddressBuffer uav, uint byteAddress, uint2 compareValue, uint2 value)
 
uint2 __NvAtomicOpUINT64 (RWByteAddressBuffer uav, uint byteAddress, uint2 value, uint atomicOpType)
 
uint2 __NvAtomicCompareExchangeUINT64 (RWTexture1D< uint2 > uav, uint address, uint2 compareValue, uint2 value)
 
uint2 __NvAtomicOpUINT64 (RWTexture1D< uint2 > uav, uint address, uint2 value, uint atomicOpType)
 
uint2 __NvAtomicCompareExchangeUINT64 (RWTexture2D< uint2 > uav, uint2 address, uint2 compareValue, uint2 value)
 
uint2 __NvAtomicOpUINT64 (RWTexture2D< uint2 > uav, uint2 address, uint2 value, uint atomicOpType)
 
uint2 __NvAtomicCompareExchangeUINT64 (RWTexture3D< uint2 > uav, uint3 address, uint2 compareValue, uint2 value)
 
uint2 __NvAtomicOpUINT64 (RWTexture3D< uint2 > uav, uint3 address, uint2 value, uint atomicOpType)
 
uint4 __NvFootprint (uint texSpace, uint texIndex, uint smpSpace, uint smpIndex, uint texType, float3 location, uint footprintmode, uint gran, int3 offset=int3(0, 0, 0))
 
uint4 __NvFootprintBias (uint texSpace, uint texIndex, uint smpSpace, uint smpIndex, uint texType, float3 location, uint footprintmode, uint gran, float bias, int3 offset=int3(0, 0, 0))
 
uint4 __NvFootprintLevel (uint texSpace, uint texIndex, uint smpSpace, uint smpIndex, uint texType, float3 location, uint footprintmode, uint gran, float lodLevel, int3 offset=int3(0, 0, 0))
 
uint4 __NvFootprintGrad (uint texSpace, uint texIndex, uint smpSpace, uint smpIndex, uint texType, float3 location, uint footprintmode, uint gran, float3 ddx, float3 ddy, int3 offset=int3(0, 0, 0))
 
uint __NvGetSpecial (uint subOpCode)
 
int __NvShflGeneric (int val, uint srcLane, uint maskClampVal, out uint laneValid)
 

Variables

RWStructuredBuffer< NvShaderExtnStructg_NvidiaExt
 

Macro Definition Documentation

#define NV_EXTN_ATOM_AND   0

Referenced by NvInterlockedAndUint64().

#define NV_EXTN_ATOM_CAS   9
#define NV_EXTN_ATOM_MAX   6
#define NV_EXTN_ATOM_MIN   7
#define NV_EXTN_ATOM_OR   1

Referenced by NvInterlockedOrUint64().

#define NV_EXTN_ATOM_SWAP   8
#define NV_EXTN_ATOM_XOR   2

Referenced by NvInterlockedXorUint64().

Function Documentation

uint __fp32x2Tofp16x2 ( float2  val)
uint2 __fp32x4Tofp16x4 ( float4  val)
float __NvAtomicAddFP32 ( RWByteAddressBuffer  uav,
uint  byteAddress,
float  val 
)
float __NvAtomicAddFP32 ( RWTexture1D< float >  uav,
uint  address,
float  val 
)
float __NvAtomicAddFP32 ( RWTexture2D< float >  uav,
uint2  address,
float  val 
)
float __NvAtomicAddFP32 ( RWTexture3D< float >  uav,
uint3  address,
float  val 
)
uint2 __NvAtomicCompareExchangeUINT64 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint2  compareValue,
uint2  value 
)
uint2 __NvAtomicCompareExchangeUINT64 ( RWTexture1D< uint2 >  uav,
uint  address,
uint2  compareValue,
uint2  value 
)
uint2 __NvAtomicCompareExchangeUINT64 ( RWTexture2D< uint2 >  uav,
uint2  address,
uint2  compareValue,
uint2  value 
)
uint2 __NvAtomicCompareExchangeUINT64 ( RWTexture3D< uint2 >  uav,
uint3  address,
uint2  compareValue,
uint2  value 
)
uint __NvAtomicOpFP16x2 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint  fp16x2Val,
uint  atomicOpType 
)
uint __NvAtomicOpFP16x2 ( RWTexture1D< float2 >  uav,
uint  address,
uint  fp16x2Val,
uint  atomicOpType 
)
uint __NvAtomicOpFP16x2 ( RWTexture2D< float2 >  uav,
uint2  address,
uint  fp16x2Val,
uint  atomicOpType 
)
uint __NvAtomicOpFP16x2 ( RWTexture3D< float2 >  uav,
uint3  address,
uint  fp16x2Val,
uint  atomicOpType 
)
uint2 __NvAtomicOpFP16x2 ( RWTexture1D< float4 >  uav,
uint  address,
uint2  fp16x2Val,
uint  atomicOpType 
)
uint2 __NvAtomicOpFP16x2 ( RWTexture2D< float4 >  uav,
uint2  address,
uint2  fp16x2Val,
uint  atomicOpType 
)
uint2 __NvAtomicOpFP16x2 ( RWTexture3D< float4 >  uav,
uint3  address,
uint2  fp16x2Val,
uint  atomicOpType 
)
uint2 __NvAtomicOpUINT64 ( RWByteAddressBuffer  uav,
uint  byteAddress,
uint2  value,
uint  atomicOpType 
)
uint2 __NvAtomicOpUINT64 ( RWTexture1D< uint2 >  uav,
uint  address,
uint2  value,
uint  atomicOpType 
)
uint2 __NvAtomicOpUINT64 ( RWTexture2D< uint2 >  uav,
uint2  address,
uint2  value,
uint  atomicOpType 
)
uint2 __NvAtomicOpUINT64 ( RWTexture3D< uint2 >  uav,
uint3  address,
uint2  value,
uint  atomicOpType 
)
uint4 __NvFootprint ( uint  texSpace,
uint  texIndex,
uint  smpSpace,
uint  smpIndex,
uint  texType,
float3  location,
uint  footprintmode,
uint  gran,
int3  offset = int3(0, 0, 0) 
)
uint4 __NvFootprintBias ( uint  texSpace,
uint  texIndex,
uint  smpSpace,
uint  smpIndex,
uint  texType,
float3  location,
uint  footprintmode,
uint  gran,
float  bias,
int3  offset = int3(0, 0, 0) 
)
uint4 __NvFootprintGrad ( uint  texSpace,
uint  texIndex,
uint  smpSpace,
uint  smpIndex,
uint  texType,
float3  location,
uint  footprintmode,
uint  gran,
float3  ddx,
float3  ddy,
int3  offset = int3(0, 0, 0) 
)
uint4 __NvFootprintLevel ( uint  texSpace,
uint  texIndex,
uint  smpSpace,
uint  smpIndex,
uint  texType,
float3  location,
uint  footprintmode,
uint  gran,
float  lodLevel,
int3  offset = int3(0, 0, 0) 
)
int __NvGetShflMaskFromWidth ( uint  width)

References NV_WARP_SIZE.

Referenced by NvShfl(), NvShflDown(), and NvShflXor().

void __NvReferenceUAVForOp ( RWByteAddressBuffer  uav)
void __NvReferenceUAVForOp ( RWTexture1D< float2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< float2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< float2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< float4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< float4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< float4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< float >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< float >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< float >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< uint2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< uint2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< uint2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< uint4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< uint4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< uint4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< uint >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< uint >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< uint >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< int2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< int2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< int2 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< int4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< int4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< int4 >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture1D< int >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture2D< int >  uav)

References g_NvidiaExt.

void __NvReferenceUAVForOp ( RWTexture3D< int >  uav)

References g_NvidiaExt.

int __NvShflGeneric ( int  val,
uint  srcLane,
uint  maskClampVal,
out uint  laneValid 
)

Variable Documentation



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

NVIDIA