![]() |
NVAPI Reference Documentation
|
Release 396: April 5
|
#include "nvShaderExtnEnums.h"
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) |
Variables | |
RWStructuredBuffer< NvShaderExtnStruct > | g_NvidiaExt |
#define NV_EXTN_ATOM_ADD 3 |
Referenced by __NvAtomicAddFP32(), NvInterlockedAddFp16x2(), NvInterlockedAddFp16x4(), and NvInterlockedAddUint64().
#define NV_EXTN_ATOM_AND 0 |
Referenced by NvInterlockedAndUint64().
#define NV_EXTN_ATOM_CAS 9 |
Referenced by __NvAtomicCompareExchangeUINT64().
#define NV_EXTN_ATOM_MAX 6 |
Referenced by NvInterlockedMaxFp16x2(), NvInterlockedMaxFp16x4(), and NvInterlockedMaxUint64().
#define NV_EXTN_ATOM_MIN 7 |
Referenced by NvInterlockedMinFp16x2(), NvInterlockedMinFp16x4(), and NvInterlockedMinUint64().
#define NV_EXTN_ATOM_OR 1 |
Referenced by NvInterlockedOrUint64().
#define NV_EXTN_ATOM_SWAP 8 |
Referenced by NvInterlockedExchangeUint64().
#define NV_EXTN_ATOM_XOR 2 |
Referenced by NvInterlockedXorUint64().
uint __fp32x2Tofp16x2 | ( | float2 | val | ) |
Referenced by NvInterlockedAddFp16x2(), NvInterlockedMaxFp16x2(), and NvInterlockedMinFp16x2().
uint2 __fp32x4Tofp16x4 | ( | float4 | val | ) |
Referenced by NvInterlockedAddFp16x4(), NvInterlockedMaxFp16x4(), and NvInterlockedMinFp16x4().
float __NvAtomicAddFP32 | ( | RWByteAddressBuffer | uav, |
uint | byteAddress, | ||
float | val | ||
) |
References __NvReferenceUAVForOp(), NvShaderExtnStruct::dst0u, g_NvidiaExt, NV_EXTN_ATOM_ADD, and NV_EXTN_OP_FP32_ATOMIC.
Referenced by NvInterlockedAddFp32().
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 | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_ATOM_CAS.
Referenced by NvInterlockedCompareExchangeUint64().
uint2 __NvAtomicCompareExchangeUINT64 | ( | RWTexture1D< uint2 > | uav, |
uint | address, | ||
uint2 | compareValue, | ||
uint2 | value | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_ATOM_CAS.
uint2 __NvAtomicCompareExchangeUINT64 | ( | RWTexture2D< uint2 > | uav, |
uint2 | address, | ||
uint2 | compareValue, | ||
uint2 | value | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_ATOM_CAS.
uint2 __NvAtomicCompareExchangeUINT64 | ( | RWTexture3D< uint2 > | uav, |
uint3 | address, | ||
uint2 | compareValue, | ||
uint2 | value | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_ATOM_CAS.
uint __NvAtomicOpFP16x2 | ( | RWByteAddressBuffer | uav, |
uint | byteAddress, | ||
uint | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
Referenced by NvInterlockedAddFp16x2(), NvInterlockedAddFp16x4(), NvInterlockedMaxFp16x2(), NvInterlockedMaxFp16x4(), NvInterlockedMinFp16x2(), and NvInterlockedMinFp16x4().
uint __NvAtomicOpFP16x2 | ( | RWTexture1D< float2 > | uav, |
uint | address, | ||
uint | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint __NvAtomicOpFP16x2 | ( | RWTexture2D< float2 > | uav, |
uint2 | address, | ||
uint | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint __NvAtomicOpFP16x2 | ( | RWTexture3D< float2 > | uav, |
uint3 | address, | ||
uint | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint2 __NvAtomicOpFP16x2 | ( | RWTexture1D< float4 > | uav, |
uint | address, | ||
uint2 | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint2 __NvAtomicOpFP16x2 | ( | RWTexture2D< float4 > | uav, |
uint2 | address, | ||
uint2 | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint2 __NvAtomicOpFP16x2 | ( | RWTexture3D< float4 > | uav, |
uint3 | address, | ||
uint2 | fp16x2Val, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), g_NvidiaExt, and NV_EXTN_OP_FP16_ATOMIC.
uint2 __NvAtomicOpUINT64 | ( | RWByteAddressBuffer | uav, |
uint | byteAddress, | ||
uint2 | value, | ||
uint | atomicOpType | ||
) |
uint2 __NvAtomicOpUINT64 | ( | RWTexture1D< uint2 > | uav, |
uint | address, | ||
uint2 | value, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), and g_NvidiaExt.
uint2 __NvAtomicOpUINT64 | ( | RWTexture2D< uint2 > | uav, |
uint2 | address, | ||
uint2 | value, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), and g_NvidiaExt.
uint2 __NvAtomicOpUINT64 | ( | RWTexture3D< uint2 > | uav, |
uint3 | address, | ||
uint2 | value, | ||
uint | atomicOpType | ||
) |
References __NvReferenceUAVForOp(), and g_NvidiaExt.
int __NvGetShflMaskFromWidth | ( | uint | width | ) |
References NV_WARP_SIZE.
Referenced by NvShfl(), NvShflDown(), and NvShflXor().
void __NvReferenceUAVForOp | ( | RWByteAddressBuffer | uav | ) |
References g_NvidiaExt.
Referenced by __NvAtomicAddFP32(), __NvAtomicCompareExchangeUINT64(), __NvAtomicOpFP16x2(), and __NvAtomicOpUINT64().
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.
RWStructuredBuffer<NvShaderExtnStruct> g_NvidiaExt |